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:
- Set the VerticalContentAlignment to Start / End .
- 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