CornerRadiusConverter.ConvertTo Método

Definição

Converte o especificado CornerRadius no tipo especificado.

public:
 override System::Object ^ ConvertTo(System::ComponentModel::ITypeDescriptorContext ^ typeDescriptorContext, System::Globalization::CultureInfo ^ cultureInfo, System::Object ^ value, Type ^ destinationType);
[System.Security.SecurityCritical]
public override object ConvertTo(System.ComponentModel.ITypeDescriptorContext typeDescriptorContext, System.Globalization.CultureInfo cultureInfo, object value, Type destinationType);
public override object ConvertTo(System.ComponentModel.ITypeDescriptorContext typeDescriptorContext, System.Globalization.CultureInfo cultureInfo, object value, Type destinationType);
[<System.Security.SecurityCritical>]
override this.ConvertTo : System.ComponentModel.ITypeDescriptorContext * System.Globalization.CultureInfo * obj * Type -> obj
override this.ConvertTo : System.ComponentModel.ITypeDescriptorContext * System.Globalization.CultureInfo * obj * Type -> obj
Public Overrides Function ConvertTo (typeDescriptorContext As ITypeDescriptorContext, cultureInfo As CultureInfo, value As Object, destinationType As Type) As Object

Parâmetros

typeDescriptorContext
ITypeDescriptorContext

Descreve as informações de contexto de um tipo.

cultureInfo
CultureInfo

Descreve o CultureInfo tipo que está sendo convertido.

value
Object

O CornerRadius para converter.

destinationType
Type

O tipo para o qual CornerRadius converter.

Retornos

O objeto criado com base na conversão disso CornerRadius (uma cadeia de caracteres).

Atributos

Exceções

value é null.

value não null é e não é um Brush, ou se destinationType não é um dos tipos de destino válidos.

Comentários

destinationType deve ser String.

Aplica-se a