[]
Settings for data formatting, converting data to string.
[TypeConverter(typeof(GenericInheritConverter))]
public class FormatInfo : MarshalByRefObject, IDisposable
Name | Description |
---|---|
CalendarType | Calendar, used to format date. |
CustomFormat | Custom format specifier used if FormatType = FormatTypeEnum.CustomFormat. |
EmptyAsNull | If True, empty strings are interpreted as null values (DbNull). |
FormatType | Enumeration value determining the formatting method, including standard .NET format specifiers, custom and programmatic formatting. |
Inherit | Manages inheritance of the FormatInfo properties from the host control properties. |
NullText | String representing a DbNull value. |
TrimEnd | If True, trailing spaces are removed. |
TrimStart | If True, leading spaces are removed. |
Name | Description |
---|---|
Format(object) | Formats a value, converts it to a string. |
Format(object, FormatTypeEnum, CultureInfo) | Formats a value, converts it to a string. |
Reset() | Resets whole FormatInfo property of base control |
ResetCalendarType() | |
ResetCustomFormat() | This method is for internal use only. |
ResetEmptyAsNull() | This method is for internal use only. |
ResetFormatType() | This method is for internal use only. |
ResetInherit() | |
ResetNullText() | This method is for internal use only. |
ResetTrimEnd() | This method is for internal use only. |
ResetTrimStart() | This method is for internal use only. |
ShouldSerializeCalendarType() | |
ShouldSerializeCustomFormat() | This method is for internal use only. |
ShouldSerializeEmptyAsNull() | This method is for internal use only. |
ShouldSerializeFormatType() | This method is for internal use only. |
ShouldSerializeInherit() | |
ShouldSerializeNullText() | This method is for internal use only. |
ShouldSerializeTrimEnd() | This method is for internal use only. |
ShouldSerializeTrimStart() | This method is for internal use only. |