ControlSkinDelegate 委托
定义
表示一种方法,该方法可将正确的控件外观应用于指定控件。Represents the method that applies the correct control skin to the specified control.
public delegate System::Web::UI::Control ^ ControlSkinDelegate(Control ^ control);
public delegate System.Web.UI.Control ControlSkinDelegate(Control control);
type ControlSkinDelegate = delegate of Control -> Control
Public Delegate Function ControlSkinDelegate(control As Control) As Control
参数
返回值
传递给方法并应用了控件外观的 Control。The Control that was passed to the method, with a control skin applied.
注解
页面和控件开发人员不会 ControlSkinDelegate 直接使用、 ControlSkin 或 PageTheme 类。Page and control developers do not use the ControlSkinDelegate, ControlSkin, or PageTheme classes directly. ASP.NET 页框架在内部使用这些类将 ASP.NET 主题中定义的服务器端属性和级联样式表定义应用到特定类型的控件。These classes are used internally by the ASP.NET page framework to apply server- side properties and cascading style sheet definitions that are defined in ASP.NET themes and control skin files to specific types of controls.
ControlSkinDelegate委托与类的方法相关联 ApplySkin ControlSkin 。The ControlSkinDelegate delegate is associated with the ApplySkin method of the ControlSkin class. ControlSkin类表示 ASP.NET 控件外观,它是由对象表示的 ASP.NET 主题的一个组件 PageTheme 。The ControlSkin class represents an ASP.NET control skin, which is a component of an ASP.NET theme represented by a PageTheme object. 有关 ASP.NET 主题的详细信息,请参阅 ASP.NET 主题和外观。For more information about ASP.NET themes, see ASP.NET Themes and Skins.
扩展方法
| GetMethodInfo(Delegate) |
获取指示指定委托表示的方法的对象。Gets an object that represents the method represented by the specified delegate. |