ClassTickLengthProviderTypeConverter
Provides a way to create custom RadScheduleView time ruler tick lengths.
Definition
Namespace:Telerik.Windows.Controls.ScheduleView.Design
Assembly:Telerik.Windows.Controls.ScheduleView.dll
Syntax:
public class TickLengthProviderTypeConverter : TypeConverter
Inheritance: objectTypeConverterTickLengthProviderTypeConverter
Inherited Members
Constructors
TickLengthProviderTypeConverter()
Declaration
public TickLengthProviderTypeConverter()
Methods
CanConvertFrom(ITypeDescriptorContext, Type)
Returns whether the source type is typeof(string).
Declaration
public override bool CanConvertFrom(ITypeDescriptorContext context, Type sourceType)
Parameters
context
The ITypeDescriptorContext.
sourceType
The source type to be checked.
Returns
True if it is of type string, otherwise false.
Overrides
CanConvertTo(ITypeDescriptorContext, Type)
Returns whether the source type is typeof(ITickLengthProvider).
Declaration
public override bool CanConvertTo(ITypeDescriptorContext context, Type destinationType)
Parameters
context
The ITypeDescriptorContext.
destinationType
The source type to be checked.
Returns
True if it is of type ITickLengthProvider, otherwise false.
Overrides
ConvertFrom(ITypeDescriptorContext, CultureInfo, object)
Converts the value as string.
Declaration
public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value)
Parameters
context
The ITypeDescriptorContext.
culture
The CultureInfo to be used.
value
The value to be converted.
Returns
Overrides
ConvertTo(ITypeDescriptorContext, CultureInfo, object, Type)
Converts the value as string.
Declaration
public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType)
Parameters
context
The ITypeDescriptorContext.
culture
The CultureInfo to be used.
value
The value to be converted.
destinationType
Returns
Overrides
GetStandardValues(ITypeDescriptorContext)
Gets the collection of standard values of the default tick length provider keys.
Declaration
public override TypeConverter.StandardValuesCollection GetStandardValues(ITypeDescriptorContext context)
Parameters
context
Returns
Overrides
GetStandardValuesSupported(ITypeDescriptorContext)
Returns true if the value is supported.
Declaration
public override bool GetStandardValuesSupported(ITypeDescriptorContext context)
Parameters
context
Returns
Overrides