SummaryItemBase.Alignment Property

Gets or sets the horizontal alignment within the Fixed Summary Panel. This is a dependency property.

Namespace: DevExpress.Xpf.Grid

Assembly: DevExpress.Xpf.Grid.v21.1.Core.dll

Declaration

public GridSummaryItemAlignment Alignment { get; set; }

Property Value

Type Description
GridSummaryItemAlignment

A GridSummaryItemAlignment enumeration value that specifies the summary item’s horizontal alignment within the Fixed Summary Panel.

Available values:

Name Description
Default

A summary is displayed within the Summary Panel.

Left

A summary is displayed within the Fixed Summary Panel and aligned to the left.

Right

A summary is displayed within the Fixed Summary Panel and aligned to the right.

Remarks

Total summaries can be displayed within the Summary Panel and/or Fixed Summary Panel. Summaries displayed within the Fixed Summary Panel are not horizontally scrolled. They are always visible onscreen, regardless of the corresponding column’s position and visibility.

TotalSummary_TableView

If the Alignment property is set to GridSummaryItemAlignment.Default, the total summary is displayed within the Summary Panel. To display the total summary within the Fixed Summary Panel, align it to the Left or Right using the Alignment property.

See Also