TextOptions.DefaultStringFormat Property
Gets an object that contains the default formatting settings.
Namespace: DevExpress.Utils
Assembly: DevExpress.Utils.v24.1.dll
NuGet Packages: DevExpress.Utils, DevExpress.Wpf.Core
Declaration
Property Value
Type | Description |
---|---|
StringFormat | A StringFormat object containing the default formatting settings. |
Property Paths
You can access this nested property as listed below:
Object Type | Path to DefaultStringFormat |
---|---|
AppearanceObject |
|
TextOptions |
|
TextOptions |
|
TextOptions |
|
TextOptions |
|
TextOptions |
|
Remarks
This property returns an object whose settings are set as follows:
FormatFlags to 0 (default).
If the TextOptions.ForceUseGenericDefaultStringFormat method has been called, this field is set to a combination of the flags:NoClip, FitBlackBox and LineLimit (see the StringFormatFlags topic to learn more).
- HotkeyPrefix to HotkeyPrefix.None;
- Alignment to StringAlignment.Near;
- LineAlignment to StringAlignment.Near;
- Trimming to StringTrimming.None;
- DigitSubstitutionMethod to StringDigitSubstitute.User;
- DigitSubstitutionLanguage to 0.
See Also