Back to Devexpress

BrickStyle.TextAlignment Property

corelibraries-devexpress-dot-xtraprinting-dot-brickstyle-1df1df62.md

latest2.6 KB
Original Source

BrickStyle.TextAlignment Property

Gets or sets the alignment of the text in the brick.

Namespace : DevExpress.XtraPrinting

Assembly : DevExpress.Printing.v25.2.Core.dll

NuGet Package : DevExpress.Printing.Core

Declaration

csharp
public virtual TextAlignment TextAlignment { get; set; }
vb
Public Overridable Property TextAlignment As TextAlignment

Property Value

TypeDescription
TextAlignment

One of the TextAlignment enumeration’s values that specifies how the text is aligned in the brick.

|

Available values:

Show 12 items

NameDescription
TopLeft

The text is vertically aligned at the top, and horizontally aligned on the left.

| | TopCenter |

The text is vertically aligned at the top, and horizontally aligned at the center.

| | TopRight |

The text is vertically aligned at the top, and horizontally aligned on the right.

| | MiddleLeft |

The text is vertically aligned in the middle, and horizontally aligned on the left.

| | MiddleCenter |

The text is vertically aligned in the middle, and horizontally aligned at the center.

| | MiddleRight |

The text is vertically aligned in the middle, and horizontally aligned on the right.

| | BottomLeft |

The text is vertically aligned at the bottom, and horizontally aligned on the left.

| | BottomCenter |

The text is vertically aligned at the bottom, and horizontally aligned at the center.

| | BottomRight |

The text is vertically aligned at the bottom, and horizontally aligned on the right.

| | TopJustify |

The text is vertically aligned at the top, and horizontally justified.

This mode is ignored in Silverlight applications.

| | MiddleJustify |

The text is vertically aligned in the middle, and horizontally justified.

This mode is ignored in Silverlight applications.

| | BottomJustify |

The text is vertically aligned at the bottom, and horizontally justified.

This mode is ignored in Silverlight applications.

|

See Also

BrickStyle Class

BrickStyle Members

DevExpress.XtraPrinting Namespace