Class CustomFontTypeConverter
Provides a type converter for custom font names, offering a list of available fonts including standard fonts and icon fonts used by the Telerik framework.
Inheritance
Namespace: Telerik.WinControls
Assembly: Telerik.WinControls.dll
Syntax
public class CustomFontTypeConverter : StringConverter
Constructors
CustomFontTypeConverter()
Declaration
public CustomFontTypeConverter()
Methods
GetStandardValues(ITypeDescriptorContext)
Returns a collection of standard values for the custom font names when provided with a format context.
Declaration
public override TypeConverter.StandardValuesCollection GetStandardValues(ITypeDescriptorContext context)
Parameters
|
System.ComponentModel.ITypeDescriptorContext
context
An System.ComponentModel.ITypeDescriptorContext that provides a format context. |
Returns
|
System.ComponentModel.TypeConverter.StandardValuesCollection
A StandardValuesCollection containing the standard custom font names. |
GetStandardValuesExclusive(ITypeDescriptorContext)
Returns whether the collection of standard values returned from GetStandardValues(ITypeDescriptorContext) is an exclusive list.
Declaration
public override bool GetStandardValuesExclusive(ITypeDescriptorContext context)
Parameters
|
System.ComponentModel.ITypeDescriptorContext
context
An System.ComponentModel.ITypeDescriptorContext that provides a format context. |
Returns
|
System.Boolean
True because the standard values are exclusive. |
GetStandardValuesSupported(ITypeDescriptorContext)
Returns whether this object supports a standard set of values that can be picked from a list.
Declaration
public override bool GetStandardValuesSupported(ITypeDescriptorContext context)
Parameters
|
System.ComponentModel.ITypeDescriptorContext
context
An System.ComponentModel.ITypeDescriptorContext that provides a format context. |
Returns
|
System.Boolean
True because a standard set of values is supported. |