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 : ObservableObjectInherits ObservableObject
Parameters
key: The column’s key: theTagof itsDataGridColumn.header: The column’s name in the chooser.canHide: False for a column that always shows.
Constructors
Section titled “Constructors”GridColumnOption
Section titled “GridColumnOption”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: theTagof itsDataGridColumn.header: The column’s name in the chooser.canHide: False for a column that always shows.
Properties
Section titled “Properties”CanHide
Section titled “CanHide”bool CanHide { get; }False for a column that always shows (the device grid’s icon); the chooser leaves it out.
DisplayIndex
Section titled “DisplayIndex”int DisplayIndex { get; set; }The user’s order (0 first).
Header
Section titled “Header”string Header { get; }The column’s name in the chooser.
IsAvailable
Section titled “IsAvailable”bool IsAvailable { get; set; }The chooser offers the column (false: greyed with UnavailableReason, e.g. compliance is off).
IsVisible
Section titled “IsVisible”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.
UnavailableReason
Section titled “UnavailableReason”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.