Class Formatter
Inheritance
System.Object
Formatter
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Telerik.WinControls
Assembly: Telerik.WinControls.dll
Syntax
public class Formatter
Constructors
Formatter()
Initializes a new instance of the Formatter class.
Declaration
public Formatter()
Methods
FormatObject(Object, Type, TypeConverter, TypeConverter, String, IFormatProvider, Object, Object)
Declaration
public static object FormatObject(object value, Type targetType, TypeConverter sourceConverter, TypeConverter targetConverter, string formatString, IFormatProvider formatInfo, object formattedNullValue, object dataSourceNullValue)
Parameters
System.Object
value
|
System.Type
targetType
|
System.ComponentModel.TypeConverter
sourceConverter
|
System.ComponentModel.TypeConverter
targetConverter
|
System.String
formatString
|
System.IFormatProvider
formatInfo
|
System.Object
formattedNullValue
|
System.Object
dataSourceNullValue
|
Returns
System.Object
|
GetDefaultDataSourceNullValue(Type)
Declaration
public static object GetDefaultDataSourceNullValue(Type type)
Parameters
System.Type
type
|
Returns
System.Object
|
InvokeStringParseMethod(Object, Type, IFormatProvider)
Declaration
public static object InvokeStringParseMethod(object value, Type targetType, IFormatProvider formatInfo)
Parameters
System.Object
value
|
System.Type
targetType
|
System.IFormatProvider
formatInfo
|
Returns
System.Object
|
IsNullData(Object, Object)
Declaration
public static bool IsNullData(object value, object dataSourceNullValue)
Parameters
System.Object
value
|
System.Object
dataSourceNullValue
|
Returns
System.Boolean
|
NullData(Type, Object)
Declaration
public static object NullData(Type type, object dataSourceNullValue)
Parameters
System.Type
type
|
System.Object
dataSourceNullValue
|
Returns
System.Object
|
ParseObject(Object, Type, Type, TypeConverter, TypeConverter, IFormatProvider, Object, Object)
Declaration
public static object ParseObject(object value, Type targetType, Type sourceType, TypeConverter targetConverter, TypeConverter sourceConverter, IFormatProvider formatInfo, object formattedNullValue, object dataSourceNullValue)
Parameters
System.Object
value
|
System.Type
targetType
|
System.Type
sourceType
|
System.ComponentModel.TypeConverter
targetConverter
|
System.ComponentModel.TypeConverter
sourceConverter
|
System.IFormatProvider
formatInfo
|
System.Object
formattedNullValue
|
System.Object
dataSourceNullValue
|
Returns
System.Object
|