CornerRadiusConverter.ConvertTo(ITypeDescriptorContext, CultureInfo, Object, Type) CornerRadiusConverter.ConvertTo(ITypeDescriptorContext, CultureInfo, Object, Type) CornerRadiusConverter.ConvertTo(ITypeDescriptorContext, CultureInfo, Object, Type) Method

Definition

Converts the specified CornerRadius to the specified 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);
override this.ConvertTo : System.ComponentModel.ITypeDescriptorContext * System.Globalization.CultureInfo * obj * Type -> obj

Parameters

typeDescriptorContext
ITypeDescriptorContext ITypeDescriptorContext ITypeDescriptorContext

Describes the context information of a type.

cultureInfo
CultureInfo CultureInfo CultureInfo

Describes the CultureInfo of the type being converted.

value
Object Object Object

The CornerRadius to convert.

destinationType
Type Type Type

The type to convert the CornerRadius to.

Returns

The object created from converting this CornerRadius (a string).

Exceptions

value is not null and is not a Brush, or if destinationType is not one of the valid destination types.

Remarks

destinationType must be String.

Applies to