Språk

CornerRadiusConverter.CanConvertTo(ITypeDescriptorContext, Type) Metod

Definition

Avgör om CornerRadius värden kan konverteras till den angivna typen.

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

Parametrar

typeDescriptorContext
ITypeDescriptorContext

Beskriver kontextinformationen för en typ.

destinationType
Type

Önskad typ som detta CornerRadius utvärderas att konverteras till.

Returer

trueom destinationType är av typen String; annars . false

Gäller för