Langue

CornerRadiusConverter.CanConvertTo(ITypeDescriptorContext, Type) Méthode

Définition

Détermine si CornerRadius les valeurs peuvent être converties en type spécifié.

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

Paramètres

typeDescriptorContext
ITypeDescriptorContext

Décrit les informations de contexte d’un type.

destinationType
Type

Type souhaité dans lequel il CornerRadius est évalué pour être converti.

Retours

true si destinationType est de type String; sinon, false.

S’applique à