CornerRadiusConverter.ConvertFrom(ITypeDescriptorContext, CultureInfo, Object) Método

Definición

Convierte el objeto especificado en un tipo de datos CornerRadius.Converts the specified object to a CornerRadius.

public:
 override System::Object ^ ConvertFrom(System::ComponentModel::ITypeDescriptorContext ^ typeDescriptorContext, System::Globalization::CultureInfo ^ cultureInfo, System::Object ^ source);
public override object ConvertFrom (System.ComponentModel.ITypeDescriptorContext typeDescriptorContext, System.Globalization.CultureInfo cultureInfo, object source);
override this.ConvertFrom : System.ComponentModel.ITypeDescriptorContext * System.Globalization.CultureInfo * obj -> obj
Public Overrides Function ConvertFrom (typeDescriptorContext As ITypeDescriptorContext, cultureInfo As CultureInfo, source As Object) As Object

Parámetros

typeDescriptorContext
ITypeDescriptorContext

Describe la información de contexto de un tipo.Describes the context information of a type.

cultureInfo
CultureInfo

Describe el objeto CultureInfo del tipo que se va a convertir.Describes the CultureInfo of the type being converted.

source
Object

Objeto que se convertirá.The object being converted.

Devoluciones

Object

Objeto CornerRadius creado a partir de la conversión de source.The CornerRadius created from converting source.

Excepciones

source es null.source is null.

source no es null y no es un tipo válido que se pueda convertir en un objeto CornerRadius.source is not null and is not a valid type which can be converted to a CornerRadius.

Se aplica a