Share via


FontStretchConverter.CanConvertFrom(ITypeDescriptorContext, Type) Método

Definición

Determina si es posible la conversión del tipo especificado en un valor de tipo FontStretch.

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

Parámetros

td
ITypeDescriptorContext

Información de contexto de un tipo.

t
Type

Tipo del origen que se va a evaluar para la conversión.

Devoluciones

Boolean

Es true si t puede crear un valor de FontStretch; de lo contrario, es false.

Se aplica a