windowsforms-devexpress-dot-xtraeditors-dot-repository-dot-repositoryitemtextedit-3ba3374f.md
Gets or sets the native Excel format string used to format the editor’s value when exporting to XLSX. This property is in effect in WYSIWYG export mode.
Namespace : DevExpress.XtraEditors.Repository
Assembly : DevExpress.XtraEditors.v25.2.dll
NuGet Package : DevExpress.Win.Navigation
[DefaultValue("")]
[DXCategory("Behavior")]
public string XlsxFormatString { get; set; }
<DXCategory("Behavior")>
<DefaultValue("")>
Public Property XlsxFormatString As String
| Type | Default | Description |
|---|---|---|
| String | String.Empty |
A string value, representing the XLSX format string.
|
A Text Editor is exported to XLSX format when it is embedded in a compound data control (e.g., GridControl, TreeList, etc.) and this data control is exported to XLSX format.
In WYSIWYG export mode, use the XlsxFormatString property to apply a native Excel format to the editor’s value.
The following list shows available format specifiers:
For information on these format specifiers, refer to the following topic from the MS Excel documentation: Create or delete a custom number format.
See Also