ThicknessConverter.CanConvertTo(ITypeDescriptorContext, Type) メソッド

定義

型コンバーターが、Thickness のインスタンスを別の型に変換できるかどうかを判断します。

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

型コンバーターが変換のために Thickness のこのインスタンスを評価するときの変換先の型。

戻り値

Boolean

型コンバーターが Thickness のこのインスタンスを destinationType に変換できる場合は true。それ以外の場合は false

適用対象

こちらもご覧ください