ThemeProvider Constructor
Collapse the table of content
Expand the table of content

ThemeProvider.ThemeProvider Constructor

Initializes a new instance of the ThemeProvider class.

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

public ThemeProvider (
	IDesignerHost host,
	string name,
	string themeDefinition,
	string[] cssFiles,
	string themePath
)
public ThemeProvider (
	IDesignerHost host, 
	String name, 
	String themeDefinition, 
	String[] cssFiles, 
	String themePath
)
public function ThemeProvider (
	host : IDesignerHost, 
	name : String, 
	themeDefinition : String, 
	cssFiles : String[], 
	themePath : String
)
Not applicable.

Parameters

host

An IDesignerHost that represents the current designer environment.

name

The name of the theme or style sheet theme that the ThemeProvider represents. This parameter can be a null reference (Nothing in Visual Basic).

themeDefinition

Theme information passed to the DesignTimeTemplateParser.ParseTheme method. These are the raw, concatenated contents of the theme.

cssFiles

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

themePath

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 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.

Windows 98, Windows Server 2000 SP4, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0, 2.0

Community Additions

ADD
Show:
© 2016 Microsoft