IThemeResolutionService Interface
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
意見反應
https://aka.ms/ContentUserFeedback。
即將登場:在 2024 年,我們將逐步淘汰 GitHub 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應