ThemeMode Struct
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.
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
Remarks
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.
Constructors
ThemeMode(String) |
Creates a new ThemeMode object with the specified value. |
Properties
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. |
Methods
Equals(Object) |
Checks whether this instance is equal to another ThemeMode object. |
Equals(ThemeMode) |
Checks whether this instance is equal to another ThemeMode object. |
GetHashCode() |
Computes the hash code for this object. |
ToString() |
Creates a string representation of the ThemeMode object. |
Operators
Equality(ThemeMode, ThemeMode) |
Checks whether two ThemeMode objects are equal. |
Inequality(ThemeMode, ThemeMode) |
Checks whether two ThemeMode objects are not equal. |