Skip to main content

Class DataGrid.ColumnDefinition

Represents the definition of a column, including its header, width, and alignment settings.

Assembly: MicroLayout.dll​
View Source​
Declaration
public class DataGrid.ColumnDefinition

Properties​

Gets or sets the header value associated with the request or response.

View Source​
Declaration
public string? Header { get; set; }

Width​

Gets or sets the width of the element.

View Source​
Declaration
public int Width { get; set; }

HorizontalAlignment​

Gets or sets the horizontal alignment of the content within the container.

View Source​
Declaration
public HorizontalAlignment HorizontalAlignment { get; set; }

VerticalAlignment​

Gets or sets the vertical alignment of the content within its container.

View Source​
Declaration
public VerticalAlignment VerticalAlignment { get; set; }

TextColor​

Gets or sets the color of the text.

View Source​
Declaration
public Color? TextColor { get; set; }