Back to Devexpress

XRCharacterComb.TextAlignment Property

xtrareports-devexpress-dot-xtrareports-dot-ui-dot-xrcharactercomb-e9afd93a.md

latest3.2 KB
Original Source

XRCharacterComb.TextAlignment Property

Specifies the alignment of text within a Character Comb.

Namespace : DevExpress.XtraReports.UI

Assembly : DevExpress.XtraReports.v25.2.dll

NuGet Package : DevExpress.Reporting.Core

Declaration

csharp
public override TextAlignment TextAlignment { get; set; }
vb
Public Overrides Property TextAlignment As TextAlignment

Property Value

TypeDescription
TextAlignment

A TextAlignment enumeration value.

|

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.

|

Remarks

The following images demonstrate how the TextAlignment property affects the alignment of text within a Character Comb.

TextAlignment = TopLeftTextAlignment = MiddleCenterTextAlignment = BottomRight

See Also

XRCharacterComb

XRCharacterComb Members

DevExpress.XtraReports.UI Namespace