Back to Devexpress

AppearanceObject.GetStringFormat(TextOptions) Method

windowsforms-devexpress-dot-utils-dot-appearanceobject-dot-getstringformat-x28-devexpress-dot-utils-dot-textoptions-x29.md

latest1.8 KB
Original Source

AppearanceObject.GetStringFormat(TextOptions) Method

Gets the formatting attributes specified by the AppearanceObject.TextOptions object passed as the parameter.

Namespace : DevExpress.Utils

Assembly : DevExpress.Utils.v25.2.dll

NuGet Packages : DevExpress.Utils, DevExpress.Wpf.Core

Declaration

csharp
public StringFormat GetStringFormat(
    TextOptions defaultOptions
)
vb
Public Function GetStringFormat(
    defaultOptions As TextOptions
) As StringFormat

Parameters

NameTypeDescription
defaultOptionsTextOptions

A TextOptions object which provides the text settings.

|

Returns

TypeDescription
StringFormat

A StringFormat object which specifies formatting attributes (such as the line spacing and alignment) based on the text settings specified.

|

See Also

AppearanceObject Class

AppearanceObject Members

DevExpress.Utils Namespace