Defines a pane that can contain contents of type DockableContent Подробнее...
Открытые члены | |
override void | OnApplyTemplate () |
override bool | OpenOptionsMenu (UIElement menuTarget) |
Open the option context menu. | |
DockableStyle | GetCumulativeDockableStyle () |
virtual void | ToggleAutoHide () |
virtual bool | Close () |
Close pane and all contained contents. | |
virtual bool | Hide () |
Close pane and hide all contained contents. | |
Статические открытые данные | |
static readonly DependencyProperty | ShowTabsProperty |
static readonly DependencyPropertyKey | AnchorPropertyKey |
static readonly DependencyProperty | CanAutohideProperty = CanAutohidePropertyKey.DependencyProperty |
Защищенные члены | |
override void | OnInitialized (EventArgs e) |
override void | OnItemsChanged (System.Collections.Specialized.NotifyCollectionChangedEventArgs e) |
void | SetCanAutohide (bool value) |
Provides a secure method for setting the CanAutohide property. This dependency property indicates if contents inside pane can be autohidden. | |
virtual void | OnHeaderMouseDown (object sender, MouseButtonEventArgs e) |
virtual void | OnHeaderMouseMove (object sender, MouseEventArgs e) |
virtual void | OnHeaderMouseUp (object sender, MouseButtonEventArgs e) |
virtual void | OnHeaderMouseEnter (object sender, MouseEventArgs e) |
virtual void | OnHeaderMouseLeave (object sender, MouseEventArgs e) |
override void | OnExecuteCommand (object sender, ExecutedRoutedEventArgs e) |
override void | OnCanExecuteCommand (object sender, CanExecuteRoutedEventArgs e) |
virtual bool | CanExecuteCommand (ICommand command) |
Retrive a value indicating if the command can be executed based to the dockable content state. | |
override void | CheckItems (IList newItems) |
Свойства | |
bool | ShowTabs [get, set] |
AnchorStyle | Anchor [get, set] |
bool | CanAutohide [get] |
Gets the CanAutohide property. This dependency property indicates if contents inside pane can be autohidden. | |
override bool | IsSurfaceVisible [get] |
override bool | IsDocked [get] |
bool | IsAutoHidden [get] |
Defines a pane that can contain contents of type DockableContent
Usually a DockablePane is used to arrange a series of DockableContent in TabControl like model. A DockablePane can be redocked to a border of the parent DockingManager, can be floated in an external window and can be autohidden. When docked into a docking manager the DockablePane.Anchor property gives the border to which it's docked. See DockablePaneCommands to get commands that are supported by DockablePane objects.
virtual bool AvalonDock.DockablePane.CanExecuteCommand | ( | ICommand | command | ) | [protected, virtual] |
Retrive a value indicating if the command can be executed based to the dockable content state.
command |
virtual bool AvalonDock.DockablePane.Close | ( | ) | [virtual] |
Close pane and all contained contents.
virtual bool AvalonDock.DockablePane.Hide | ( | ) | [virtual] |
Close pane and hide all contained contents.
override bool AvalonDock.DockablePane.OpenOptionsMenu | ( | UIElement | menuTarget | ) | [virtual] |
Open the option context menu.
menuTarget | Target element under which context menu will be shown. Pass null if context menu should be shown at mouse position. |
Переопределяет метод предка AvalonDock.Pane.
void AvalonDock.DockablePane.SetCanAutohide | ( | bool | value | ) | [protected] |
Provides a secure method for setting the CanAutohide property. This dependency property indicates if contents inside pane can be autohidden.
value | The new value for the property. |
virtual void AvalonDock.DockablePane.ToggleAutoHide | ( | ) | [virtual] |
Toggle auto hide state to all content inside the pane
Переопределяется в AvalonDock.FlyoutDockablePane.
readonly DependencyPropertyKey AvalonDock.DockablePane.AnchorPropertyKey [static] |
DependencyProperty.RegisterAttachedReadOnly("Anchor", typeof(AnchorStyle), typeof(DockablePane), new UIPropertyMetadata(AnchorStyle.None))
readonly DependencyProperty AvalonDock.DockablePane.ShowTabsProperty [static] |
DependencyProperty.Register("ShowTabs", typeof(bool), typeof(DockablePane), new UIPropertyMetadata(true))
bool AvalonDock.DockablePane.CanAutohide [get] |
Gets the CanAutohide property. This dependency property indicates if contents inside pane can be autohidden.