Skip to content

GridColumnDefinition

Record in Oadm.Sdk.Client.Controls · Oadm.Sdk.Client.dll

A column of GridColumnLayout: its key, header, whether it can be hidden and whether it shows by default.

public sealed record GridColumnDefinition(string Key, string Header, bool CanHide = true, bool IsDefault = true)

Parameters

  • Key: The column’s key: the Tag of its DataGridColumn.
  • Header: The column’s name in the chooser.
  • CanHide: False for a column that always shows.
  • IsDefault: Whether it shows before the user chose.
bool CanHide { get; init; }

False for a column that always shows.

string Header { get; init; }

The column’s name in the chooser.

bool IsDefault { get; init; }

Whether it shows before the user chose.

string Key { get; init; }

The column’s key: the Tag of its DataGridColumn.