ThemeModeConverter Class
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.
Converts instances of other types to and from ThemeMode instances.
public ref class ThemeModeConverter : System::ComponentModel::TypeConverter
[System.Diagnostics.CodeAnalysis.Experimental("WPF0001")]
public class ThemeModeConverter : System.ComponentModel.TypeConverter
[<System.Diagnostics.CodeAnalysis.Experimental("WPF0001")>]
type ThemeModeConverter = class
inherit TypeConverter
Public Class ThemeModeConverter
Inherits TypeConverter
- Inheritance
- Attributes
Constructors
ThemeModeConverter() |
Methods
CanConvertFrom(ITypeDescriptorContext, Type) |
Determines whether or not this class can convert from a given type. |
CanConvertTo(ITypeDescriptorContext, Type) |
Determines whether or not this class can convert to a given type. |
ConvertFrom(ITypeDescriptorContext, CultureInfo, Object) |
Attempts to convert to a ThemeMode from the specified object |
ConvertTo(ITypeDescriptorContext, CultureInfo, Object, Type) |
Attempts to convert a ThemeMode object to the specified type. |
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.