Прочетете на английски Редактиране

Споделяне чрез


ThemeModeConverter Class

Definition

Converts instances of other types to and from ThemeMode instances.

C#
[System.Diagnostics.CodeAnalysis.Experimental("WPF0001")]
public class ThemeModeConverter : System.ComponentModel.TypeConverter
Inheritance
ThemeModeConverter
Attributes

Constructors

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

Продукт Версии
Windows Desktop 9, 10