皮肤可以删除本地html设计吗 [英] can skins remove the local html designs

查看:79
本文介绍了皮肤可以删除本地html设计吗的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如果不能通过vb.net代码删除皮肤,皮肤是否可以删除本地html设计

can skins remove the local html designs if not how to remove it through vb.net code

推荐答案

MSDN说


开始
MSDN says

To Start with

报价:

主题由一组元素组成:外观,级联样式表(CSS),图像和其他资源.主题至少包含皮肤

Themes are made up of a set of elements: skins, cascading style sheets (CSS), images, and other resources. At a minimum, a theme will contain skins



下面将覆盖各个样式



The below will override the individual styles

报价:

如果设置页面的 Theme 属性,则主题和页面中的控件设置将合并形成控件的最终设置.如果在控件和主题中都定义了控件设置,则主题中的控件设置将覆盖控件上的所有页面设置.即使页面上的控件已经具有单独的属性设置,此策略也可使主题在页面上创建一致的外观.例如,它允许您将主题应用于在早期版本的ASP.NET中创建的页面.

If you set a page''s Theme property, control settings in the theme and the page are merged to form the final settings for the control.If a control setting is defined in both the control and the theme, the control settings from the theme override any page settings on the control. This strategy enables the theme to create a consistent look across pages, even if controls on the pages already have individual property settings. For example, it allows you to apply a theme to a page you created in an earlier version of ASP.NET.



下面的方法不会覆盖



The below way it wont override

报价:

或者,您可以通过设置页面的 StyleSheetTheme 属性来将主题用作样式表主题.在这种情况下,如果在两个位置都定义了本地页面设置,则该页面设置优先于主题中定义的设置.这是级联样式表使用的模型.如果您希望能够设置页面上各个控件的属性,同时又要为整个外观应用主题,则可以将主题用作样式表主题.

Alternatively, you can apply a theme as a style sheet theme by setting the page''s StyleSheetTheme property. In this case, local page settings take precedence over those defined in the theme when the setting is defined in both places. This is the model used by cascading style sheets. You might apply a theme as a style sheet theme if you want to be able to set the properties of individual controls on the page while still applying a theme for an overall look.



如何使用主题属性

http://msdn.microsoft.com/en-us/library/tx35bd89 (v = vs.85).aspx [



How to use Theme property

http://msdn.microsoft.com/en-us/library/tx35bd89(v=vs.85).aspx[^]

Hope this helps to clear your doubt.


这篇关于皮肤可以删除本地html设计吗的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆