Microsoft.Windows.Themes Namespace
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 exposure to the set of themes defined by Windows Presentation Foundation. In WPF, a theme is a set of resources, defined at the system level, which provide the default appearance for controls and other visual elements of an application. WPF themes are created using styles and include Luna, Aero, Royale, and Classic. Only the client area of a WPF application uses these themes; the appearance of the window border and buttons that form the window chrome is controlled by the Win32 theme service.
Classes
BulletChrome |
Creates the theme-specific look for Windows Presentation Foundation (WPF) Bullet elements. A Bullet defines the appearance of CheckBox and RadioButton elements. |
ButtonChrome |
Creates the theme-specific look for Button elements. |
ClassicBorderDecorator |
Creates the theme-specific look for Decorator types, for use with the Classic theme. |
DataGridHeaderBorder |
Specifies the theme-specific look for headers in DataGrid controls. |
ListBoxChrome |
Creates the theme-specific look for ListBox elements. |
PlatformCulture |
Provides culture-specific information used by .NET system themes. |
ProgressBarBrushConverter |
Creates the Brush used to draw the ProgressBar. |
ProgressBarHighlightConverter |
Creates a DrawingBrush used to draw the highlighting for the ProgressBar. |
ScrollChrome |
Creates the theme-specific look for ScrollBar elements. |
SystemDropShadowChrome |
Creates a theme specific look for drop shadow effects. |
Enums
ClassicBorderStyle |
Specifics the type of Border to draw. |
ScrollGlyph |
Describes the glyphs used to represent the Thumb. |
ThemeColor |
Represents possible color variants for the Microsoft themes. |
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈