Click or drag to resize
RadGridDateTimeConverterConvertTo Method
Converts the given value object to a DateTime using the arguments.

Namespace: Telerik.WinControls.UI
Assembly: Telerik.WinControls.GridView (in Telerik.WinControls.GridView.dll) Version: 2018.3.911.40 (2018.3.911.40)
Syntax
public override Object ConvertTo(
	ITypeDescriptorContext context,
	CultureInfo culture,
	Object value,
	Type destinationType
)

Parameters

context
Type: System.ComponentModelITypeDescriptorContext
An ITypeDescriptorContext that provides a format context.
culture
Type: System.GlobalizationCultureInfo
An optional CultureInfo. If not supplied, the current culture is assumed.
value
Type: SystemObject
The Object to convert.
destinationType
Type: SystemType
The Type to convert the value to.

Return Value

Type: Object
An Object that represents the converted value.
Exceptions
ExceptionCondition
NotSupportedExceptionThe conversion cannot be performed.
See Also