语言

CornerRadiusConverter.CanConvertTo(ITypeDescriptorContext, Type) 方法

定义

确定值是否可以 CornerRadius 转换为指定类型。

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

参数

typeDescriptorContext
ITypeDescriptorContext

描述类型的上下文信息。

destinationType
Type

要将其转换为的所需类型 CornerRadius 。

返回

true 如果 destinationType 为类型 String,则为 ;否则为 false。

适用于