Skip to content

ICorePluginPage

Interface in Oadm.Sdk.Client · Oadm.Sdk.Client.dll

UI page of a core plugin, shown in the navigation rail.

public interface ICorePluginPage

Guide: Core plugins and pages

bool HasOwnCards { get; }

Default implementation

True when the view lays out its own cards (Border.card, e.g. several panels side by side); the host then shows it below the page title without its own card. Default false.

string PluginId { get; }

The id of the core plugin on the server that this page belongs to.

bool ShowTasksPane { get; }

Default implementation

True when the page starts tasks (e.g. a rollout) and the technician should watch them without switching pages: the host shows the shared tasks pane (splitter, persisted height) below the page, exactly like on the Devices page. Default false.

string? TabOf { get; }

Default implementation

The id of the core plugin whose page shows this page as a tab (SDK 0.4.0), e.g. the 802.1X server inside PKI; null (the default): a rail entry of its own. The host creates the view as for a rail page (with this plugin’s own context) and hands it to that page (ICorePluginClientContext.Tabs); OpenAsync("plugin:" + PluginId) opens that page on this tab. While that page is not listed for the user, this page is a rail entry as before.

string Title { get; }

The page title and the name of its rail entry.

Control CreateView(ICorePluginClientContext ctx)

Creates the page content once per connection, on the UI thread; the host shows it in a card below the title.