Skip to main content

ColumnSpanProperty Field

ColumnSpan property. This is an attached property. Grid defines ColumnSpan, so that it can be set on any element treated as a cell. ColumnSpan property specifies child's width with respect to columns. Example, ColumnSpan == 2 means that child will span across two columns.

Definition​

Namespace: Avalonia.Controls
Assembly: Avalonia.Controls (in Avalonia.Controls.dll)

public static readonly AttachedProperty<int> ColumnSpanProperty
View Source

Field Value​

AttachedProperty(Int32)

Remarks​

Default value for the property is 1.

See Also​

Reference​

Grid Class
Avalonia.Controls Namespace