CornerRadiusConverter.CanConvertFrom(ITypeDescriptorContext, Type) Metodo

Definizione

Indica se un oggetto può essere convertito da un determinato tipo a un oggetto CornerRadius.

public:
 override bool CanConvertFrom(System::ComponentModel::ITypeDescriptorContext ^ typeDescriptorContext, Type ^ sourceType);
public override bool CanConvertFrom(System.ComponentModel.ITypeDescriptorContext typeDescriptorContext, Type sourceType);
override this.CanConvertFrom : System.ComponentModel.ITypeDescriptorContext * Type -> bool
Public Overrides Function CanConvertFrom (typeDescriptorContext As ITypeDescriptorContext, sourceType As Type) As Boolean

Parametri

typeDescriptorContext
ITypeDescriptorContext

Descrive le informazioni di contesto di un tipo.

sourceType
Type

Origine Type su cui viene eseguita una query per il supporto della conversione.

Valori restituiti

true se sourceType è di tipo String; in caso contrario, false.

Si applica a