Class ThemeResourceKeyTypeConverter<T>
Used to convert System.Windows.ResourceKey types used to consume ThemePalettes.
Inheritance
System.Object
ThemeResourceKeyTypeConverter<T>
Namespace: Telerik.Windows.Controls
Assembly: Telerik.Windows.Controls.dll
Syntax
public abstract class ThemeResourceKeyTypeConverter<T> : TypeConverter where T : ResourceKey
Type Parameters
T
The type of the System.Windows.ResourceKey used with this converter. |
Methods
CanConvertFrom(ITypeDescriptorContext, Type)
Declaration
public override bool CanConvertFrom(ITypeDescriptorContext context, Type sourceType)
Parameters
System.ComponentModel.ITypeDescriptorContext
context
|
System.Type
sourceType
|
Returns
System.Boolean
|
CanConvertTo(ITypeDescriptorContext, Type)
Declaration
public override bool CanConvertTo(ITypeDescriptorContext context, Type destinationType)
Parameters
System.ComponentModel.ITypeDescriptorContext
context
|
System.Type
destinationType
|
Returns
System.Boolean
|
ConvertFrom(ITypeDescriptorContext, CultureInfo, Object)
Declaration
public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value)
Parameters
System.ComponentModel.ITypeDescriptorContext
context
|
System.Globalization.CultureInfo
culture
|
System.Object
value
|
Returns
System.Object
|
ConvertTo(ITypeDescriptorContext, CultureInfo, Object, Type)
Declaration
public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType)
Parameters
System.ComponentModel.ITypeDescriptorContext
context
|
System.Globalization.CultureInfo
culture
|
System.Object
value
|
System.Type
destinationType
|
Returns
System.Object
|