Class ThemeValueSerializer
This class supports the design-time and XAML-related conversion from theme objects to strings and vice versa.
Inheritance
Namespace: Telerik.Windows.Controls
Assembly: Telerik.Windows.Controls.dll
Syntax
public class ThemeValueSerializer : ValueSerializer
Constructors
ThemeValueSerializer()
Initializes a new instance of the Theme
Declaration
public ThemeValueSerializer()
Methods
CanConvertFromString(String, IValueSerializerContext)
Determines whether the specified System.
Declaration
public override bool CanConvertFromString(string value, IValueSerializerContext context)
Parameters
System. String to evaluate for conversion. |
System. Context information that is used for conversion. |
Returns
System. True if the value can be converted; otherwise, false. |
CanConvertToString(Object, IValueSerializerContext)
Determines whether the specified object can be converted into a System.
Declaration
public override bool CanConvertToString(object value, IValueSerializerContext context)
Parameters
System. The object to evaluate for conversion. |
System. Context information that is used for conversion. |
Returns
System. True if the |
ConvertFromString(String, IValueSerializerContext)
Converts a System.
Declaration
public override object ConvertFromString(string value, IValueSerializerContext context)
Parameters
System. The string to convert. |
System. Context information that is used for conversion. |
Returns
System. A new instance of the type that the implementation of System. |
Exceptions
System.
|
ConvertToString(Object, IValueSerializerContext)
Converts the specified object to a System.
Declaration
public override string ConvertToString(object value, IValueSerializerContext context)
Parameters
System. The object to convert into a string. |
System. Context information that is used for conversion. |
Returns
System. A string representation of the specified object. |
Exceptions
System.
|