PageTab
Class in Oadm.Sdk.Client.Controls · Oadm.Sdk.Client.dll
One tab of a page with tabs (Web View devices, Live View views): the title and a close button, the active one underlined in the accent color (theme Border.browserTab). A press runs PageTab.ActivateCommand. Without a PageTab.CloseCommand the tab has no close button (fixed tabs of a window, theme class fixed); PageTab.Count above 0 shows a count badge after the title (e.g. requests that wait).
public sealed class PageTab : BorderInherits Border
XAML properties
Section titled “XAML properties”Set them in XAML (<ui:PageTab Name="..." />) or bind them.
| Name | Type | Description |
|---|---|---|
ActivateCommand |
ICommand? |
Runs when the user clicks the tab. |
CloseCommand |
ICommand? |
Runs when the user clicks the X (or the middle button on the tab); null = a fixed tab without an X. |
Count |
int |
The number in the badge after the title; 0 or less hides the badge. |
IsActive |
bool |
The shown tab: underlined. |
Title |
string? |
The tab title. |