Skip to main content
A newer version of this page is available. .

GridColumn.VerticalContentAlignment Property

Gets or sets the vertical alignment of the column’s content. This is a bindable property.

Namespace: DevExpress.Maui.DataGrid

Assembly: DevExpress.Maui.DataGrid.dll

NuGet Package: DevExpress.Maui.DataGrid

Declaration

public TextAlignment VerticalContentAlignment { get; set; }

Property Value

Type Description
TextAlignment

The content’s vertical alignment.

Remarks

Follow the steps below to align a cell’s content to the top/bottom border:

  1. Set the VerticalContentAlignment to Start / End .
  2. Specify the Padding property value to reduce paddings inside cells.

To specify the horizontal alignment of the column’s content, use the GridColumn.HorizontalContentAlignment property.

See Also