Share via


ThicknessConverter.CanConvertTo(ITypeDescriptorContext, Type) Yöntem

Tanım

Tür dönüştürücüsünün bir örneğini Thickness farklı bir türe dönüştürip dönüştüremeyeceğini belirler.

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

Parametreler

typeDescriptorContext
ITypeDescriptorContext

Bir türün bağlam bilgileri.

destinationType
Type

Tür dönüştürücüsünün bu örneğini dönüştürme için değerlendirdiği tür Thickness .

Döndürülenler

true tür dönüştürücüsü öğesinin Thickness bu örneğini destinationTypeöğesine dönüştürebiliyorsa, aksi takdirde , false.

Şunlara uygulanır

Ayrıca bkz.