public class FormatInfo :
Public Class FormatInfo
There may be situations when you need to apply formatting to the values displayed by a control. For instance, you may need to display numeric values in currency format, scientific notation, etc. Controls provided by Developer Express declare properties that expose the FormatInfo object, thus enabling you to apply the required formatting. For instance, in container controls these objects are exposed via the properties of its data field objects (e.g. columns).
There are two ways you can apply formatting using an object's FormatInfo settings:
implement a custom formatter object and assign it to the FormatInfo.Format property. In this case, the FormatInfo.FormatType property should be set to FormatType.Custom. Use this formatting method when the format strings provided do not suit your needs. In this case, you can provide any formatting algorithm required.