Bewerken

Share via


IThemeResolutionService Interface

Definition

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.

public interface class IThemeResolutionService
public interface IThemeResolutionService
type IThemeResolutionService = interface
Public Interface IThemeResolutionService

Remarks

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.

Methods

GetAllThemeProviders()

Gets an Array of ThemeProvider objects.

GetStylesheetThemeProvider()

Gets a ThemeProvider object that represents the customization theme from a style sheet.

GetThemeProvider()

Gets a ThemeProvider object that represents the customization theme on an ASP.NET page.

Applies to

See also