Skip to content

DeviceTree

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

The devices grouped by tag in one virtualized list (Web View, Live View): a group header with a chevron (a click collapses it), the devices with DeviceIcon and address below. A click or Enter on a device raises DeviceTree.DeviceInvoked. The rows come from a DeviceTreeModel.

public sealed class DeviceTree : UserControl

Inherits UserControl

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

Name Type Description
Model DeviceTreeModel? The rows to show.
DeviceTreeRow? SelectedRow { get; set; }

The selected row (the page marks the active device with it).

event EventHandler<DeviceTreeDevice>? DeviceInvoked

A device row was clicked or Enter was pressed on it.

event EventHandler? RowsChanged

The rows were rebuilt (a device changed, the search): the page selects its row again.