Skip to content

GridColumnOption

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

One column of a grid in the column chooser (SDK 0.17.0; the device grid, the Log of License Plate Center).

public sealed class GridColumnOption : ObservableObject

Inherits ObservableObject

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.
GridColumnOption(string key, string header, bool canHide = true)

One column of a grid in the column chooser (SDK 0.17.0; the device grid, the Log of License Plate Center).

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.
bool CanHide { get; }

False for a column that always shows (the device grid’s icon); the chooser leaves it out.

int DisplayIndex { get; set; }

The user’s order (0 first).

string Header { get; }

The column’s name in the chooser.

bool IsAvailable { get; set; }

The chooser offers the column (false: greyed with UnavailableReason, e.g. compliance is off).

bool IsVisible { get; set; }

The grid shows the column (the chooser’s check box).

string Key { get; }

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

string? UnavailableReason { get; set; }

Why the column cannot be turned on now (the chooser’s tooltip).

double Width { get; set; }

Pixel width, 0 = the width of the view.