BinaryPanelBarContainedPanel
The page of a BinaryPanelBarButton: a scrolling panel holding a section's controls,
which the BinaryPanelBar shows while that button is selected.
public class BinaryPanelBarContainedPanel : Panel
Inherits from / implements: Panel
Remarks
Assign one to BinaryPanelBarButton.ContainedPanel. The bar docks it to fill the space
above the buttons and hides it while another button is selected; while the bar is collapsed, it is
shown in the flyout beside the rail. Use this class rather than a plain Panel for a
page.
Examples
var calendarPage = new BinaryPanelBarContainedPanel();
calendarPage.Controls.Add(new MonthCalendar { Location = new Point(8, 8) });
calendarButton.ContainedPanel = calendarPage;Members at a glance
| Constructors | |
|---|---|
BinaryPanelBarContainedPanel | Initialises a new, empty page with a white background and scrolling switched on. |
| Methods | |
Dispose | Releases the resources the page uses. |
InitializeComponent | Applies the page's defaults: scrolling on, a white background and a size of 100 by 100 pixels. |
Constructors
BinaryPanelBarContainedPanel
Initialises a new, empty page with a white background and scrolling switched on.
Methods
Dispose
Releases the resources the page uses.
Parameters
disposingtrueto release managed resources as well as unmanaged ones.
InitializeComponent
Applies the page's defaults: scrolling on, a white background and a size of 100 by 100 pixels.
Remarks
The constructor calls this; calling it again also attaches its internal resize handler a second time.