SkinBuilder(ThemeProvider, Control, ControlBuilder, String) Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of the SkinBuilder class, setting the control with which the builder is associated, the general ControlBuilder object provided by the ThemeProvider object for the control, and a path to the theme file.
public:
SkinBuilder(System::Web::UI::ThemeProvider ^ provider, System::Web::UI::Control ^ control, System::Web::UI::ControlBuilder ^ skinBuilder, System::String ^ themePath);
public SkinBuilder (System.Web.UI.ThemeProvider provider, System.Web.UI.Control control, System.Web.UI.ControlBuilder skinBuilder, string themePath);
new System.Web.UI.SkinBuilder : System.Web.UI.ThemeProvider * System.Web.UI.Control * System.Web.UI.ControlBuilder * string -> System.Web.UI.SkinBuilder
Public Sub New (provider As ThemeProvider, control As Control, skinBuilder As ControlBuilder, themePath As String)
Parameters
- provider
- ThemeProvider
A ThemeProvider that encapsulates theme information for controls in a designer environment.
- control
- Control
The Control with which the SkinBuilder is associated. The ApplyTheme() method applies a control skin to this control and returns it.
- skinBuilder
- ControlBuilder
A ControlBuilder provided by the ThemeProvider for the control's type.
- themePath
- String
The absolute path to the theme file.
Remarks
This constructor is called by the GetSkinBuilder method of the ThemeProvider class to return a SkinBuilder object for the control specified in the control
parameter.
Applies to
See also
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈