A utility class for a Ribbon Floating frame.
Manages a floating frame instance and provides a way to show a set of Ribbon Panels, as well as close the managed frame.
This is a wrapper over the RibbonPanelFrame object and is not a UI element itself.
Public Member Functions |
|
void | ShowPanels (ICollection< MaxModelingRibbonPanel > panels) |
Shows a collection of panels in a floating
frame. |
|
void | CloseFrame () |
Closes the managed frame, if it exists.
|
|
Protected Member Functions |
|
virtual void | OnFrameClosed (EventArgs args) |
Events |
|
EventHandler< EventArgs > | FrameClosed |
Called when the Frame has been closed.
|
void WPFCustomControls::FloatingFrame::MaxFloatingFrame::ShowPanels | ( | ICollection< MaxModelingRibbonPanel > | panels | ) | [inline] |
Shows a collection of panels in a floating frame.
If this collection is empty, this call is ignored. Call CloseFrame() to close the frame.
There is no restriction on the source of the panels, though these should come from the main ribbon, and actually exist in the ribbon.
panels | A list of panels to show. |
void WPFCustomControls::FloatingFrame::MaxFloatingFrame::CloseFrame | ( | ) | [inline] |
Closes the managed frame, if it exists.
virtual void WPFCustomControls::FloatingFrame::MaxFloatingFrame::OnFrameClosed | ( | EventArgs | args | ) | [inline, protected, virtual] |
EventHandler<EventArgs> WPFCustomControls::FloatingFrame::MaxFloatingFrame::FrameClosed |
Called when the Frame has been closed.