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 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈