BrickStringFormat(DXStringAlignment, DXStringAlignment, DXStringFormatFlags, DXHotkeyPrefix, DXStringTrimming, BrickStringFormatPrototypeKind) Constructor
Initializes a new instance of the BrickStringFormat class with specified settings.
Namespace: DevExpress.XtraPrinting
Assembly: DevExpress.Printing.v26.1.Core.dll
NuGet Package: DevExpress.Printing.Core
Declaration
public BrickStringFormat(
DXStringAlignment alignment,
DXStringAlignment lineAlignment,
DXStringFormatFlags formatFlags,
DXHotkeyPrefix hotkeyPrefix,
DXStringTrimming trimming,
BrickStringFormatPrototypeKind prototypeKind = BrickStringFormatPrototypeKind.Default
)
Parameters
| Name | Type | Description |
|---|---|---|
| alignment | DXStringAlignment | The horizontal alignment of the text within its layout rectangle. |
| lineAlignment | DXStringAlignment | The vertical alignment of the text within its layout rectangle. |
| formatFlags | DXStringFormatFlags | A value that defines the text layout and display behavior. |
| hotkeyPrefix | DXHotkeyPrefix | The hotkey prefix used to indicate access keys in the text. |
| trimming | DXStringTrimming | The trimming behavior applied to text that exceeds the available layout area. |
Optional Parameters
| Name | Type | Default | Description |
|---|---|---|---|
| prototypeKind | BrickStringFormatPrototypeKind | Default | The prototype kind used to initialize the format from the corresponding prototype. |
See Also