ToolbarOverflowPanel
Class in Oadm.Sdk.Client.Controls · Oadm.Sdk.Client.dll
Every toolbar row of buttons (the Devices page, plugin pages): lays its entries out left to right like a horizontal stack panel. Entries that do not fit (a small or scaled screen, the live view open) are hidden and offered by a “More” button: opening it moves those entries into its flyout, closing moves them back. Separators never go into the flyout, and a separator at the end of the visible part is hidden. The panel shows its own More button at its right end unless the view places one with ToolbarOverflowPanel.OverflowButton. Put only the buttons in it; a search box stays outside, right of the panel.
public sealed class ToolbarOverflowPanel : PanelInherits Panel
XAML properties
Section titled “XAML properties”Set them in XAML (<ui:ToolbarOverflowPanel Name="..." />) or bind them.
| Name | Type | Description |
|---|---|---|
HasOverflow |
bool |
True when entries do not fit (also while the flyout shows them). |
OverflowButton |
Button? |
A “More” button the view places itself (the Devices page: right of the panel, visible with ToolbarOverflowPanel.HasOverflow); null = the panel’s own button at its right end. |
Spacing |
double |
The space between two entries. |
Constructors
Section titled “Constructors”ToolbarOverflowPanel
Section titled “ToolbarOverflowPanel”ToolbarOverflowPanel()Creates the panel with its own More button.
Properties
Section titled “Properties”OverflowItems
Section titled “OverflowItems”IReadOnlyList<Control> OverflowItems { get; }The entries that did not fit at the last layout (tests).