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
ทํางานร่วมกับเราใน GitHub
แหล่งที่มาสำหรับเนื้อหานี้สามารถพบได้บน GitHub ซึ่งคุณยังสามารถสร้างและตรวจสอบปัญหาและคำขอดึงข้อมูลได้ สำหรับข้อมูลเพิ่มเติม ให้ดูคู่มือผู้สนับสนุนของเรา