CornerRadiusConverter.CanConvertTo(ITypeDescriptorContext, Type) Methode

Definition

Bestimmt, ob CornerRadius Werte in den angegebenen Typ konvertiert werden können.

public:
 override bool CanConvertTo(System::ComponentModel::ITypeDescriptorContext ^ typeDescriptorContext, Type ^ destinationType);
public override bool CanConvertTo(System.ComponentModel.ITypeDescriptorContext typeDescriptorContext, Type destinationType);
override this.CanConvertTo : System.ComponentModel.ITypeDescriptorContext * Type -> bool
Public Overrides Function CanConvertTo (typeDescriptorContext As ITypeDescriptorContext, destinationType As Type) As Boolean

Parameter

typeDescriptorContext
ITypeDescriptorContext

Beschreibt die Kontextinformationen eines Typs.

destinationType
Type

Der gewünschte Typ, CornerRadius in den dies ausgewertet wird, in den konvertiert werden soll.

Gibt zurück

true if destinationType is of type String; otherwise, false.

Gilt für: