CustomExportCellEventArgsBase.FormatType Property
Gets the type of formatting.
Namespace: DevExpress.PivotGrid.Printing
Assembly: DevExpress.PivotGrid.v24.1.Core.dll
NuGet Packages: DevExpress.PivotGrid.Core, DevExpress.Win.Navigation
Declaration
Property Value
Type | Description |
---|---|
FormatType | A FormatType enumeration value that specifies the formatting type. |
Available values:
Name | Description |
---|---|
None | No formatting is performed. Setting the FormatInfo.FormatType property to None clears the FormatInfo.FormatString property and sets the FormatInfo.Format object to null. |
Numeric | Specifies that values should be formatted as numbers. Setting FormatInfo.FormatType to Numeric assigns the static System.Globalization.NumberFormatInfo.CurrentInfo format provider to the FormatInfo.Format property. This defines the format provider for the current culture. Also FormatInfo.FormatString is set to an empty string. |
DateTime | Specifies that values should be formatted as the DateTime type. Setting FormatInfo.FormatType to DateTime assigns the static CurrentInfo format provider to the FormatInfo.Format property. This defines the format provider for the current culture. Also FormatInfo.FormatString is set to “d” (short date pattern). |
Custom | Use Custom to format string values. Use Custom when assigning a custom IFormatProvider to the FormatInfo.Format property. Setting FormatInfo.FormatType to Custom does not change the FormatInfo.Format and FormatInfo.FormatString property values. |