Skip to content

GridColumnState

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

The saved state of one column: what GridColumnLayout loads and saves.

public sealed record GridColumnState(string Key, bool IsVisible, double Width, int DisplayIndex)

Parameters

  • Key: The column’s key.
  • IsVisible: Whether the grid shows it.
  • Width: Its width in pixels, 0 for the view’s width; applied as a star weight.
  • DisplayIndex: Its place in the user’s order, 0 first.
int DisplayIndex { get; init; }

Its place in the user’s order, 0 first.

bool IsVisible { get; init; }

Whether the grid shows it.

string Key { get; init; }

The column’s key.

double Width { get; init; }

Its width in pixels, 0 for the view’s width; applied as a star weight.