Edit

Share via


ThemeModeConverter Class

Definition

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
ThemeModeConverter
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