콘텐츠로 이동

MewDock markup reference

이 콘텐츠는 아직 번역되지 않았습니다.

Fluent extensions declared by the Aprillz.MewUI.MewDock package.

Receiver: DockingManager.

Method Sets Summary
CenterContent(UIElement value) CenterContent Sets the element shown in place of the document host, which panes still dock around; null shows the document host.
OnActivePaneChanged(Action<DockPane> handler) event ActivePaneChanged Adds an active pane changed event handler.
OnActivePaneChanged(EventHandler<DockPane> handler) event ActivePaneChanged Subscribes handler to ActivePaneChanged. Occurs when ActivePane changes, with the new pane or null.
OnChanged(Action handler) event Changed Adds a changed event handler.
OnChanged(EventHandler handler) event Changed Subscribes handler to Changed. Occurs after any change to the layout (a user gesture or a handle verb), once the change is complete.
OnGroupMenuOpening(Action<DockGroupMenuEventArgs> handler) event GroupMenuOpening Adds a group menu opening event handler.
OnGroupMenuOpening(EventHandler<DockGroupMenuEventArgs> handler) event GroupMenuOpening Subscribes handler to GroupMenuOpening. Occurs each time a group’s tab strip right-click menu opens, after the default items are added; handlers add application commands to Menu.
OnPaneClosing(EventHandler<DockPaneClosingEventArgs> handler) event PaneClosing Subscribes handler to PaneClosing. Occurs before the user closes a pane from the dock’s own controls (a tab’s close button or middle click, a caption’s close button, the Close menu items); setting Cancel keeps the pane where it is.
OnTabMenuOpening(Action<DockTabMenuEventArgs> handler) event TabMenuOpening Adds a tab menu opening event handler.
OnTabMenuOpening(EventHandler<DockTabMenuEventArgs> handler) event TabMenuOpening Subscribes handler to TabMenuOpening. Occurs each time a tab’s right-click menu opens, after the default items are added; handlers add application commands to Menu.
WithContentFactory(Func<DockPane, UIElement> factory) ContentFactory Sets ContentFactory and returns the manager.
WithHeaderFactory(Func<DockPane, UIElement> factory) HeaderFactory Sets HeaderFactory and returns the manager.