Provides a class that encapsulates theme and style sheet information for controls in a designer environment.
public ref class ThemeProvider sealed
public sealed class ThemeProvider
type ThemeProvider = class
Public NotInheritable Class ThemeProvider
Page developers and control authors do not use the ThemeProvider class. ASP.NET developer tool and designer builders use the ThemeProvider class in conjunction with the SkinBuilder class and the IThemeResolutionService interface to apply themes and their respective control skins to controls at design time.
The ThemeProvider class encapsulates the information needed to apply a theme or style sheet theme and its control skins to the child controls of a control in a designer.
|ThemeProvider(IDesignerHost, String, String, String, String)||
Initializes a new instance of the ThemeProvider class.
Gets the hash of the theme definition passed to the constructor.
Gets a set of strings that represent the names of any cascading style sheet (CSS) files associated with the current theme, if the theme is a style sheet theme.
Gets an IDesignerHost object that represents the current designer environment.
Gets the name of the theme or style sheet theme that the ThemeProvider instance represents.
Determines whether the specified object is equal to the current object.(Inherited from Object)
Serves as the default hash function.(Inherited from Object)
Retrieves a SkinBuilder instance for the specified control, which is used to apply a theme and control skin in a designer environment.
Gets the Type of the current instance.(Inherited from Object)
Creates a shallow copy of the current Object.(Inherited from Object)
Returns a string that represents the current object.(Inherited from Object)