Attempts to convert an ICommand to the specified type.

Namespace:  C1.Silverlight
Assembly:  C1.Silverlight (in C1.Silverlight.dll)

Syntax

C#
public override Object ConvertTo(
	ITypeDescriptorContext context,
	CultureInfo culture,
	Object value,
	Type destinationType
)
Visual Basic
Public Overrides Function ConvertTo ( _
	context As ITypeDescriptorContext, _
	culture As CultureInfo, _
	value As Object, _
	destinationType As Type _
) As Object

Parameters

context
Type: System.ComponentModel..::..ITypeDescriptorContext
A format context that provides information about the environment from which this converter is being invoked.
culture
Type: System.Globalization..::..CultureInfo
Culture specific information.
value
Type: System..::..Object
The object to convert.
destinationType
Type: System..::..Type
The type to convert the object to.

Return Value

The converted object, or an empty string if value is null.

See Also