GridItemsLayout.Span Property

Definition

Gets or sets the number of columns (for vertical orientation) or rows (for horizontal orientation) in the grid.

public:
 property int Span { int get(); void set(int value); };
public int Span { get; set; }
member this.Span : int with get, set
Public Property Span As Integer

Property Value

The number of columns or rows. Must be 1 or greater. The default is 1.

Remarks

For vertical scrolling grids, Span determines the number of columns. For horizontal scrolling grids, Span determines the number of rows.

Applies to