GridExtensions

Fluent attached-property setters for placing a view inside a Grid.
public static class GridExtensions

Methods

Column

Places the view in grid column column (zero-based).

extension<T>(
  T view) where T : View
{
    public T Column(
      int column)
}
ParameterSummary
T viewThe view target being placed.
int columnThe zero-based column index.
Type parameterSummary
View TThe type of the view.

Returns

  • T: The same view, for chaining.

ColumnSpan

Makes the view span span columns.

extension<T>(
  T view) where T : View
{
    public T ColumnSpan(
      int span)
}
ParameterSummary
T viewThe view target being placed.
int spanThe number of columns to span.
Type parameterSummary
View TThe type of the view.

Returns

  • T: The same view, for chaining.

Row

Places the view in grid row row (zero-based).

extension<T>(
  T view) where T : View
{
    public T Row(
      int row)
}
ParameterSummary
T viewThe view target being placed.
int rowThe zero-based row index.
Type parameterSummary
View TThe type of the view.

Returns

  • T: The same view, for chaining.

RowSpan

Makes the view span span rows.

extension<T>(
  T view) where T : View
{
    public T RowSpan(
      int span)
}
ParameterSummary
T viewThe view target being placed.
int spanThe number of rows to span.
Type parameterSummary
View TThe type of the view.

Returns

  • T: The same view, for chaining.