Export (0) Print
Expand All

ThemeProvider Constructor

Initializes a new instance of the ThemeProvider class.

Namespace:  System.Web.UI
Assembly:  System.Web (in System.Web.dll)

	IDesignerHost^ host, 
	String^ name, 
	String^ themeDefinition, 
	array<String^>^ cssFiles, 
	String^ themePath


Type: System.ComponentModel.Design::IDesignerHost

An IDesignerHost that represents the current designer environment.

Type: System::String

The name of the theme or style sheet theme that the ThemeProvider represents. This parameter can be nullptr.

Type: System::String

Theme information passed to the DesignTimeTemplateParser::ParseTheme(IDesignerHost, String, String) method. These are the raw, concatenated contents of the theme.

Type: array<System::String>

The names of the cascading style sheet (CSS) files that are included with the theme that the ThemeProvider represents.

Type: System::String

The absolute path of the file that contains the theme and control skin information for the named theme.

The themeDefinition parameter passed to the ThemeProvider(IDesignerHost, String, String, array<String>, String) constructor represents the concatenation of all control skins associated with the theme but is not exposed directly by the ThemeProvider class, as this particular parameter is passed to a DesignTimeTemplateParser to retrieve a ControlBuilder and is not otherwise used.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0
© 2015 Microsoft