Skip to content

ColumnChooserButton

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

The “Choose columns” button of a grid’s toolbar (SDK 0.17.0): an icon-only command button with the columns icon and a flyout “Visible columns” with a check box per GridColumnOption of ColumnChooserButton.Columns.

public sealed class ColumnChooserButton : Button

Inherits Button

Set them in XAML (<ui:ColumnChooserButton Name="..." />) or bind them.

Name Type Description
Columns IEnumerable<GridColumnOption>? The columns the user may hide (GridColumnLayout.Choosable).
ItemsControl List { get; }

The list of the flyout (tests).

const string ListTitle = "Visible columns"

The title above the check boxes.

const string TipText = "Choose columns"

The button’s tooltip.