ThemeMode Struct
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.
Describes the Fluent theme mode to apply to an application or window.
public value class ThemeMode : IEquatable<System::Windows::ThemeMode>
[System.Diagnostics.CodeAnalysis.Experimental("WPF0001")]
public readonly struct ThemeMode : IEquatable<System.Windows.ThemeMode>
[<System.Diagnostics.CodeAnalysis.Experimental("WPF0001")>]
type ThemeMode = struct
Public Structure ThemeMode
Implements IEquatable(Of ThemeMode)
- Inheritance
- Attributes
- Implements
This is an experimental API and may be modified or removed in future releases.
Since this is an experimental API, rather than creating a new instance of ThemeMode, use the static properties Light, Dark, System, and None.
Theme |
Creates a new ThemeMode object with the specified value. |
Dark |
Gets the Dark predefined theme mode. |
Light |
Gets the Light predefined theme mode. |
None |
Gets the None predefined theme mode. |
System |
Get the System predefined theme mode. |
Value |
Gets the value of the ThemeMode. |
Equals(Object) |
Checks whether this instance is equal to another ThemeMode object. |
Equals(Theme |
Checks whether this instance is equal to another ThemeMode object. |
Get |
Computes the hash code for this object. |
To |
Creates a string representation of the ThemeMode object. |
Equality(Theme |
Checks whether two ThemeMode objects are equal. |
Inequality(Theme |
Checks whether two ThemeMode objects are not equal. |
Продукт | Версии |
---|---|
Windows Desktop | 9, 10 |
Обратна връзка за .NET
.NET е проект с отворен код. Изберете връзка, за да предоставите обратна връзка: