All docs
V21.1
21.2 (EAP/Beta)
21.1
20.2
20.1
19.2
19.1
The page you are viewing does not exist in version 19.1. This link will take you to the root page.
18.2
The page you are viewing does not exist in version 18.2. This link will take you to the root page.
18.1
The page you are viewing does not exist in version 18.1. This link will take you to the root page.
17.2
The page you are viewing does not exist in version 17.2. This link will take you to the root page.

XRCrossTabCell.GetEffectiveTextAlignment() Method

Returns the cell’s actually used text alignment.

Namespace: DevExpress.XtraReports.UI.CrossTab

Assembly: DevExpress.XtraReports.v21.1.dll

Declaration

public override TextAlignment GetEffectiveTextAlignment()

Returns

Type Description
TextAlignment

The effective text alignment.

Remarks

The GetEffectiveTextAlignment method searches an actual text alignment in the following order:

  • the cell’s TextAlignment property value if it differs from the default value;
  • the TextAlignment property value in a style of the cell’s area (HeaderAreaStyle, DataAreaStyle or TotalAreaStyle) if it is set;
  • the TextAlignment property value in the GeneralStyle if it is set;
  • the default text alignment.

Tip

See CrossTabStyles for more information about the Cross Tab’s appearance mechanism.

See Also