CornerRadiusConverter.ConvertTo Methode

Definitie

Converteert de opgegeven CornerRadius waarde naar het opgegeven type.

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

Parameters

typeDescriptorContext
ITypeDescriptorContext

Beschrijft de contextinformatie van een type.

cultureInfo
CultureInfo

Beschrijft het CultureInfo type dat wordt geconverteerd.

value
Object

De CornerRadius te converteren.

destinationType
Type

Het type dat u wilt converteren CornerRadius naar.

Retouren

Het object dat is gemaakt van het converteren hiervan CornerRadius (een tekenreeks).

Kenmerken

Uitzonderingen

value is null.

value is niet null en is geen Brush, of als destinationType dit geen van de geldige doeltypen is.

Opmerkingen

destinationType moet zijn: String.

Van toepassing op