EventPicker
Class in Oadm.Sdk.Client.Controls · Oadm.Sdk.Client.dll
The event select (the event rule dialog, Vision Center’s Device event node): looks like a select field and shows the chosen event with its folders (“Devices › Selected devices › Device unreachable”); a click opens a panel below it with a search box, the EventTree as one virtualized list (a folder opens or closes on click, an event is chosen on click or Enter) and the description of the event under the pointer. Escape or a click outside closes it.
public sealed class EventPicker : UserControlInherits UserControl
XAML properties
Section titled “XAML properties”Set them in XAML (<ui:EventPicker Name="..." />) or bind them.
| Name | Type | Description |
|---|---|---|
Placeholder |
string |
The button’s text while no event is chosen (“Choose an event”). |
Selected |
EventChoice? |
The chosen event (two way). |
Tree |
EventTree? |
The events (one tree per select: its folders stay as the user opened them). |
Properties
Section titled “Properties”IsOpen
Section titled “IsOpen”bool IsOpen { get; }The panel is open (for tests).
Methods
Section titled “Methods”SetOpen
Section titled “SetOpen”void SetOpen(bool open)Opens or closes the panel.