DockingPane ClassDW.WPFToolkit Documentation
Represents a pane where items can be collapsed into and expanded back. A single item is visible only at one time.
Inheritance Hierarchy

SystemObject
  System.Windows.ThreadingDispatcherObject
    System.WindowsDependencyObject
      System.Windows.MediaVisual
        System.WindowsUIElement
          System.WindowsFrameworkElement
            System.Windows.ControlsControl
              System.Windows.ControlsItemsControl
                System.Windows.Controls.PrimitivesSelector
                  System.Windows.ControlsTabControl
                    DW.WPFToolkit.ControlsDockingPane

Namespace: DW.WPFToolkit.Controls
Assembly: DW.WPFToolkit (in DW.WPFToolkit.dll) Version: 5.6.0.0
Syntax

C#
public class DockingPane : TabControl

The DockingPane type exposes the following members.

Constructors

  NameDescription
Public methodDockingPane
Initializes a new instance of the DockingPane class
Top
Methods

  NameDescription
Protected methodGetContainerForItemOverride
Generates a new child item container to hold in the DockingPane.
(Overrides TabControlGetContainerForItemOverride.)
Protected methodIsItemItsOwnContainerOverride
Checks if the item is already the correct item container. If not the GetContainerForItemOverride will be used to generate the right container.
(Overrides TabControlIsItemItsOwnContainerOverride(Object).)
Top
Fields

  NameDescription
Public fieldStatic memberAreaHeightProperty
Identifies the AreaHeight dependency property.
Public fieldStatic memberAreaMaxHeightProperty
Identifies the AreaMaxHeight dependency property.
Public fieldStatic memberAreaMaxWidthProperty
Identifies the AreaMaxWidth dependency property.
Public fieldStatic memberAreaMinHeightProperty
Identifies the AreaMinHeight dependency property.
Public fieldStatic memberAreaMinWidthProperty
Identifies the AreaMinWidth dependency property.
Public fieldStatic memberAreaWidthProperty
Identifies the AreaWidth dependency property.
Public fieldStatic memberButtonsPositionProperty
Identifies the ExpandDirection dependency property.
Public fieldStatic memberExpandDirectionProperty
Identifies the ExpandDirection dependency property.
Top
Properties

  NameDescription
Public propertyAreaHeight
Gets or sets the height of the area visible if an item gets expanded.
Public propertyAreaMaxHeight
Gets or sets the maximum height of the area visible if an item gets expanded.
Public propertyAreaMaxWidth
Gets or sets the maximum width of the area visible if an item gets expanded.
Public propertyAreaMinHeight
Gets or sets the minimum height of the area visible if an item gets expanded.
Public propertyAreaMinWidth
Gets or sets the minimum width of the area visible if an item gets expanded.
Public propertyAreaWidth
Gets or sets the width of the area visible if an item gets expanded.
Public propertyButtonsPosition
Gets or sets the button pane position in the control.
Public propertyExpandDirection
Gets or sets in which direction the selected content should be expanded to.
Top
Examples

XAML
<DockPanel>

    <WPFToolkit:DockingPane DockPanel.Dock="Right" ExpandDirection="RightToLeft" AreaWidth="250" AreaMinWidth="150">
        <WPFToolkit:DockingPaneItem Header="Title 1">
            <ListBox />
        </WPFToolkit:DockingPaneItem>
        <WPFToolkit:DockingPaneItem Header="Title 2">
            <ListBox />
        </WPFToolkit:DockingPaneItem>
    </WPFToolkit:DockingPane>

    <Grid />
</DockPanel>
See Also

Reference