Skip to content

GridColumnDefinition ​

Namespace: Hex1b.Widgets

Assembly: Hex1b.dll

Defines the sizing behavior for a grid column.

csharp
public sealed record GridColumnDefinition : IEquatable<GridColumnDefinition>

Inheritance ​

Object → GridColumnDefinition

Implements ​

Constructors ​

GridColumnDefinition() ​

Creates a column definition with content-based sizing.

csharp
public GridColumnDefinition()

GridColumnDefinition(SizeHint) ​

Defines the sizing behavior for a grid column.

Parameters:

  • Width (SizeHint): The size hint for this column's width. Defaults to .
csharp
public GridColumnDefinition(SizeHint Width)

Properties ​

Width ​

The size hint for this column's width. Defaults to .

Returns: SizeHint

csharp
public SizeHint Width { get; init; }

Released under the MIT License.