Skip to content

GridDefinitionCollectionExtensions

Namespace: Hex1b

Assembly: Hex1b.dll

Extension methods for adding definitions to grid definition collections.

csharp
public static class GridDefinitionCollectionExtensions

Inheritance

ObjectGridDefinitionCollectionExtensions

Methods

Add(GridDefinitionCollection<GridColumnDefinition>, SizeHint)

Adds a column definition with the specified width hint.

Parameters:

  • collection (GridDefinitionCollection<GridColumnDefinition>):
  • width (SizeHint):
csharp
public static void Add(this GridDefinitionCollection<GridColumnDefinition> collection, SizeHint width)

Add(GridDefinitionCollection<GridRowDefinition>, SizeHint)

Adds a row definition with the specified height hint.

Parameters:

  • collection (GridDefinitionCollection<GridRowDefinition>):
  • height (SizeHint):
csharp
public static void Add(this GridDefinitionCollection<GridRowDefinition> collection, SizeHint height)

Released under the MIT License.