Telerik UI for Windows Phone by Progress

Returns whether the type converter can convert an object to the specified type to the type of this converter.

Namespace: Telerik.Windows.Controls.Calendar
Assembly: Telerik.Windows.Controls.Input (in Telerik.Windows.Controls.Input.dll) Version: 2013.1.422.2040 (2013.1.0422.2040)

Syntax

C#
public override bool CanConvertTo(
	ITypeDescriptorContext context,
	Type destinationType
)
Visual Basic
Public Overrides Function CanConvertTo ( _
	context As ITypeDescriptorContext, _
	destinationType As Type _
) As Boolean
Visual C++
public:
virtual bool CanConvertTo(
	ITypeDescriptorContext^ context, 
	Type^ destinationType
) override

Parameters

context
Type: System.ComponentModel..::..ITypeDescriptorContext
The context.
destinationType
Type: System..::..Type
The type you want to convert to.

Return Value

True if this converter can perform the conversion; otherwise, false.

Exceptions

ExceptionCondition
System..::..ArgumentExceptiondestinationType is null.

See Also