AppearanceObject.GetStringFormat() Method
Gets the formatting attributes specified by the appearance object’s settings.
Namespace: DevExpress.Utils
Assembly: DevExpress.Utils.v24.1.dll
NuGet Packages: DevExpress.Utils, DevExpress.Wpf.Core
Declaration
Returns
Type | Description |
---|---|
StringFormat | A StringFormat object which specifies formatting attributes, such as the line spacing and alignment. |
Remarks
The formatting attributes are specified by the text options which can be accessed via the AppearanceObject.TextOptions property.
Related GitHub Examples
The following code snippets (auto-collected from DevExpress Examples) contain references to the GetStringFormat() method.
Note
The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.