Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

ThemeProvider Members

Provides a class that encapsulates theme and style sheet information for controls in a designer environment.

The ThemeProvider type exposes the following members.

Public method ThemeProvider Initializes a new instance of the ThemeProvider class.

Public method Equals Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public method GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public method GetSkinBuilder Retrieves a SkinBuilder instance for the specified control, which is used to apply a theme and control skin in a designer environment.
Public method GetSkinControlBuildersForControlType Gets an IDictionary object that contains a set of SkinBuilder objects for the specified Type.
Public method GetSkinsForControl Gets an ICollection of skin identifiers that are associated with the specified Type.
Public method GetType Gets the type of the current instance. (Inherited from Object.)
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method ToString Returns a string that represents the current object. (Inherited from Object.)

Public property ContentHashCode Gets the hash of the theme definition passed to the constructor.
Public property CssFiles 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.
Public property DesignerHost Gets an IDesignerHost object that represents the current designer environment.
Public property ThemeName Gets the name of the theme or style sheet theme that the ThemeProvider instance represents.

Community Additions

© 2015 Microsoft