TextOptions.DefaultStringFormat Property
In This Article
Gets an object that contains the default formatting settings.
Namespace: DevExpress.Utils
Assembly: DevExpress.Utils.v24.2.dll
NuGet Packages: DevExpress.Utils, DevExpress.Wpf.Core
#Declaration
public static StringFormat DefaultStringFormat { get; }
#Property Value
Type | Description |
---|---|
String |
A String |
#Property Paths
You can access this nested property as listed below:
Object Type | Path to Default |
---|---|
Appearance |
|
Text |
|
Text |
|
Text |
|
Text |
|
Text |
|
#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