windowsforms-devexpress-dot-utils-dot-textoptions-380d9bc7.md
Gets an object that contains the default formatting settings.
Namespace : DevExpress.Utils
Assembly : DevExpress.Utils.v25.2.dll
NuGet Packages : DevExpress.Utils, DevExpress.Wpf.Core
public static StringFormat DefaultStringFormat { get; }
Public Shared ReadOnly Property DefaultStringFormat As StringFormat
| Type | Description |
|---|---|
| StringFormat |
A StringFormat object containing the default formatting settings.
|
You can access this nested property as listed below:
| Object Type | Path to DefaultStringFormat |
|---|---|
| AppearanceObject |
.TextOptions .DefaultStringFormat
| | TextOptions |
.DefaultOptions .DefaultStringFormat
| | TextOptions |
.DefaultOptionsCenteredWithEllipsis .DefaultStringFormat
| | TextOptions |
.DefaultOptionsMultiLine .DefaultStringFormat
| | TextOptions |
.DefaultOptionsNoWrap .DefaultStringFormat
| | TextOptions |
.DefaultOptionsNoWrapEx .DefaultStringFormat
|
This property returns an object whose settings are set as follows:
FormatFlags to 0 (default).
HotkeyPrefix to HotkeyPrefix.None ;
Alignment to StringAlignment.Near ;
LineAlignment to StringAlignment.Near ;
Trimming to StringTrimming.None ;
DigitSubstitutionMethod to StringDigitSubstitute.User ;
See Also