Modifier

Partager via


ThemeProvider(IDesignerHost, String, String, String[], String) Constructor

Definition

Initializes a new instance of the ThemeProvider class.

public:
 ThemeProvider(System::ComponentModel::Design::IDesignerHost ^ host, System::String ^ name, System::String ^ themeDefinition, cli::array <System::String ^> ^ cssFiles, System::String ^ themePath);
public ThemeProvider (System.ComponentModel.Design.IDesignerHost host, string name, string themeDefinition, string[] cssFiles, string themePath);
new System.Web.UI.ThemeProvider : System.ComponentModel.Design.IDesignerHost * string * string * string[] * string -> System.Web.UI.ThemeProvider
Public Sub New (host As IDesignerHost, name As String, themeDefinition As String, cssFiles As String(), themePath As String)

Parameters

host
IDesignerHost

An IDesignerHost that represents the current designer environment.

name
String

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

themeDefinition
String

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

cssFiles
String[]

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

themePath
String

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

Remarks

The themeDefinition parameter passed to the ThemeProvider(IDesignerHost, String, String, 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.

Applies to