Click or drag to resize
DateTimeTypeConverterCanConvertTo Method
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: 2017.3.1018.40 (2017.3.1018.40)
Syntax
public override bool CanConvertTo(
	ITypeDescriptorContext context,
	Type destinationType
)

Parameters

context
Type: System.ComponentModelITypeDescriptorContext
The context.
destinationType
Type: SystemType
The type you want to convert to.

Return Value

Type: Boolean
True if this converter can perform the conversion; otherwise, false.
Exceptions
ExceptionCondition
ArgumentExceptiondestinationType is null.
See Also