Back to Devexpress

FormatInfo Members

corelibraries-devexpress-dot-utils-dot-formatinfo-dot-underscore-members.md

latest7.0 KB
Original Source

FormatInfo Members

Provides formatting settings.

Constructors

NameDescription
FormatInfo()Creates an instance of the FormatInfo class.
FormatInfo(IComponentLoading, IViewBagOwner, String)Initializes a new instance of the FormatInfo class with the specified settings.
FormatInfo(IComponentLoading)Initializes a new instance of the FormatInfo class with the specified settings.
FormatInfo(IViewBagOwner, String)Initializes a new instance of the FormatInfo class.

Properties

NameDescription
AlwaysUseThreadFormat staticGets or sets whether a value for the FormatInfo.Format property should be determined each time the property is accessed.
Empty staticGets a FormatInfo object with default settings.
FormatGets or sets the IFormatProvider object which specifies how values should be formatted.
FormatStringGets the pattern for formatting values.
FormatTypeGets or sets the type of formatting specified by the current FormatInfo object.
IsEmptyTests whether properties of the current object are set to default values.

Methods

NameDescription
Assign(FormatInfo)Copies properties of the specified FormatInfo object to the current object.
Equals(Object, Object) staticDetermines whether the specified object instances are considered equal. Inherited from Object.
Equals(Object)Determines whether the specified object is equal to the current object. Inherited from Object.
GetDisplayText(Object)Gets the value formatted according to the format pattern and using the format provider settings.
GetFormatString()Returns the actual format string.
GetHashCode()Serves as the default hash function. Inherited from Object.
GetType()Gets the Type of the current instance. Inherited from Object.
IsEquals(FormatInfo)Compares properties of the current object with settings of the specified FormatInfo object.
LockParse()The method supports the internal .NET infrastructure and you must not call it from your code.
MemberwiseClone() protectedCreates a shallow copy of the current Object. Inherited from Object.
OnEndDeserializing(String)This member supports the .NET Framework infrastructure and is not intended to be used directly from your code.
OnEndSerializing()This member supports the .NET Framework infrastructure and is not intended to be used directly from your code.
OnStartDeserializing(LayoutAllowEventArgs)This member supports the .NET Framework infrastructure and is not intended to be used directly from your code.
OnStartSerializing()This member supports the .NET Framework infrastructure and is not intended to be used directly from your code.
Parse()Performs actions when the FormatInfo.FormatType property changes.
ReferenceEquals(Object, Object) staticDetermines whether the specified Object instances are the same instance. Inherited from Object.
Reset()Reverts properties of the current object to default values.
ResetCache() static
ShouldSerialize()Tests whether the FormatInfo object should be persisted.
ToString()Returns a string that represents the current object.
UnlockParse()The method supports the internal .NET infrastructure and you must not call it from your code.

Events

NameDescription
ChangedOccurs on changing properties of the current FormatInfo class object.

See Also

FormatInfo Class

DevExpress.Utils Namespace