Открытые члены | Статические открытые данные | Защищенные члены | Свойства

Класс AvalonDock.DockablePane

Defines a pane that can contain contents of type DockableContent Подробнее...

Граф наследования:AvalonDock.DockablePane:
AvalonDock.Pane AvalonDock.IDropSurface AvalonDock.IDockableControl AvalonDock.FloatingDockablePane AvalonDock.FlyoutDockablePane

Полный список членов класса

Открытые члены

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.

См. также:
DockableContent, DockingManager

Методы

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.

Возвращает:
True if all content has been closed, false if at least one content couldn't be closed.
virtual bool AvalonDock.DockablePane.Hide (  )  [virtual]

Close pane and hide all contained contents.

Возвращает:
True if all content has been hidden, false if at least one content couldn't be hidden.
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.
Возвращает:
True if context menu resource was found and open, false otherwise.

Переопределяет метод предка 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.