Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
IThemeResolutionService Interface
Collapse the table of content
Expand the table of content

IThemeResolutionService Interface

Provides an interface that designer tool developers can use to supply a set of ThemeProvider objects, which can be used to apply themes and control skins to controls in a design-time environment.

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

public interface IThemeResolutionService

The IThemeResolutionService type exposes the following members.

  NameDescription
Public methodGetAllThemeProvidersGets an Array of ThemeProvider objects.
Public methodGetStylesheetThemeProviderGets a ThemeProvider object that represents the customization theme from a style sheet.
Public methodGetThemeProviderGets a ThemeProvider object that represents the customization theme on an ASP.NET page.
Top

Page developers and control authors do not use the IThemeResolutionService interface. The IThemeResolutionService interface is implemented by designer tool developers to supply SkinBuilder control builders in the design environment.

The IThemeResolutionService is a container for one or more ThemeProvider objects, which in turn supply the SkinBuilder objects that apply themes and control skins to controls when they are created in a designer. An instance of the IThemeResolutionService class can be accessed from a given ControlBuilder instance using its ControlBuilder.ThemeResolutionService property.

.NET Framework

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