Edit

Share via


ThemeModeConverter.CanConvertTo(ITypeDescriptorContext, Type) Method

Definition

Determines whether or not this class can convert to a given type.

public override bool CanConvertTo(System.ComponentModel.ITypeDescriptorContext typeDescriptorContext, Type destinationType);

Parameters

typeDescriptorContext
ITypeDescriptorContext

The ITypeDescriptorContext for this call.

destinationType
Type

The Type being queried for support.

Returns

true if this converter can convert to the provided type; otherwise, false.

Applies to

Product Versions
Windows Desktop 9, 10