The DockPanel type exposes the following members.

Constructors

  NameDescription
Public methodDockPanel
Initializes a new instance of the DockPanel class

Methods

  NameDescription
Public methodAddHandler
Adds a routed event handler for a specified routed event, adding the handler to the handler collection on the current element. Specify handledEventsToo as true to have the provided handler be invoked for routed event that had already been marked as handled by another element along the event route.
(Inherited from UIElement.)
Public methodArrange
Positions child elements and determines a size for a UIElement. Parent elements call this method from their ArrangeCore(Rect) implementation (or a WPF framework-level equivalent) to form a recursive layout update. This method constitutes the second pass of a layout update.
(Inherited from UIElement.)
Protected methodArrangeOverride
Called by the framework to arrange the child elements of the DockPanel.
(Overrides FrameworkElement..::..ArrangeOverride(Size).)
Public methodCaptureMouse
Attempts to force capture of the mouse to this element.
(Inherited from UIElement.)
Public methodCheckAccess (Inherited from DependencyObject.)
Public methodClearValue
Clears the local value of a property. The property to be cleared is specified by a DependencyProperty identifier.
(Inherited from DependencyObject.)
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodFinalize
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
Public methodFindName
Finds an element that has the provided identifier name.
(Inherited from FrameworkElement.)
Public methodGetAnimationBaseValue (Inherited from DependencyObject.)
Public methodGetBindingExpression
Returns the BindingExpression that represents the binding on the specified property.
(Inherited from FrameworkElement.)
Public methodStatic memberGetDock
Gets which side of a DockPanel the element should be positioned against.
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodGetValue
Returns the current effective value of a dependency property on this instance of a DependencyObject.
(Inherited from DependencyObject.)
Public methodInvalidateArrange
Invalidates the arrange state (layout) for the element. After the invalidation, the element will have its layout updated, which will occur asynchronously unless subsequently forced by UpdateLayout()()()().
(Inherited from UIElement.)
Public methodInvalidateMeasure
Invalidates the measurement state (layout) for the element.
(Inherited from UIElement.)
Public methodMeasure
Updates the DesiredSize of a UIElement. Parent elements call this method from their own MeasureCore(Size) implementations to form a recursive layout update. Calling this method constitutes the first pass (the "Measure" pass) of a layout update.
(Inherited from UIElement.)
Protected methodMeasureOverride
Called by the framework to measures the child elements of the DockPanel.
(Overrides FrameworkElement..::..MeasureOverride(Size).)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodOnApplyTemplate
When overridden in a derived class, is invoked whenever application code or internal processes call ApplyTemplate()()()().
(Inherited from FrameworkElement.)
Protected methodOnCreateAutomationPeer
Returns class-specific AutomationPeer implementations for the Windows Presentation Foundation (WPF) infrastructure.
(Inherited from UIElement.)
Public methodReadLocalValue
Returns the local value of a dependency property, if it exists.
(Inherited from DependencyObject.)
Public methodReleaseMouseCapture
Releases the mouse capture, if this element held the capture.
(Inherited from UIElement.)
Public methodRemoveHandler
Removes the specified routed event handler from this element.
(Inherited from UIElement.)
Public methodSetBinding (Inherited from FrameworkElement.)
Public methodStatic memberSetDock
Sets which side of a DockPanel the element should be positioned against.
Public methodSetValue
Sets the local value of a dependency property, specified by its dependency property identifier.
(Inherited from DependencyObject.)
Public methodToString
Returns a String that represents the current Object.
(Inherited from Object.)
Public methodTransformToVisual (Inherited from UIElement.)
Public methodUpdateLayout
Ensures that all visual child elements of this element are properly updated for layout.
(Inherited from UIElement.)

Fields

  NameDescription
Public fieldStatic memberDockProperty
Identifies the Dock attched property.
Public fieldStatic memberLastChildFillProperty
Identifies the LastChildFill property.

Properties

  NameDescription
Public propertyActualHeight
Gets the rendered height of this element. This is a dependency property.
(Inherited from FrameworkElement.)
Public propertyActualWidth
Gets the rendered width of this element. This is a dependency property.
(Inherited from FrameworkElement.)
Public propertyBackground
Gets or sets a Brush that is used to fill the area between the borders of a Panel. This is a dependency property.
(Inherited from Panel.)
Public propertyCacheMode (Inherited from UIElement.)
Public propertyChildren
Gets a UIElementCollection of child elements of this Panel.
(Inherited from Panel.)
Public propertyClip
Gets or sets the geometry used to define the outline of the contents of an element. This is a dependency property.
(Inherited from UIElement.)
Public propertyCursor
Gets or sets the cursor that displays when the mouse pointer is over this element. This is a dependency property.
(Inherited from FrameworkElement.)
Public propertyDataContext
Gets or sets the data context for an element when it participates in data binding. This is a dependency property.
(Inherited from FrameworkElement.)
Public propertyDesiredSize
Gets the size that this element computed during the measure pass of the layout process.
(Inherited from UIElement.)
Public propertyDispatcher (Inherited from DependencyObject.)
Public propertyEffect
Gets or sets the bitmap effect to apply to the UIElement. This is a dependency property.
(Inherited from UIElement.)
Public propertyHeight
Gets or sets the suggested height of the element. This is a dependency property.
(Inherited from FrameworkElement.)
Public propertyHorizontalAlignment
Gets or sets the horizontal alignment characteristics applied to this element when it is composed within a parent element, such as a panel or items control. This is a dependency property.
(Inherited from FrameworkElement.)
Public propertyIsHitTestVisible
Gets or sets a value that declares whether this element can possibly be returned as a hit test result from some portion of its rendered content. This is a dependency property.
(Inherited from UIElement.)
Public propertyIsItemsHost
Gets or sets a value that indicates that this Panel is a container for user interface (UI) items that are generated by an ItemsControl. This is a dependency property. 
(Inherited from Panel.)
Public propertyLanguage
Gets or sets localization/globalization language information that applies to an element. This is a dependency property.
(Inherited from FrameworkElement.)
Public propertyLastChildFill
Gets or sets whether the last child of the DockPanel should fill all the remaining area after other children have been laid out. The default is true. This is a dependency property.
Public propertyMargin
Gets or sets the outer margin of an element. This is a dependency property.
(Inherited from FrameworkElement.)
Public propertyMaxHeight
Gets or sets the maximum height constraint of the element. This is a dependency property.
(Inherited from FrameworkElement.)
Public propertyMaxWidth
Gets or sets the maximum width constraint of the element. This is a dependency property.
(Inherited from FrameworkElement.)
Public propertyMinHeight
Gets or sets the minimum height constraint of the element. This is a dependency property.
(Inherited from FrameworkElement.)
Public propertyMinWidth
Gets or sets the minimum width constraint of the element. This is a dependency property.
(Inherited from FrameworkElement.)
Public propertyName
Gets or sets the identifying name of the element. The name provides a reference so that code-behind, such as event handler code, can refer to a markup element after it is constructed during processing by a XAML processor. This is a dependency property.
(Inherited from FrameworkElement.)
Public propertyOpacity
Gets or sets the opacity factor applied to the entire UIElement when it is rendered in the user interface (UI). This is a dependency property.
(Inherited from UIElement.)
Public propertyOpacityMask
Gets or sets an opacity mask, as a Brush implementation that is applied to any alpha-channel masking for the rendered content of this element. This is a dependency property.
(Inherited from UIElement.)
Public propertyParent
Gets the logical parent element of this element.
(Inherited from FrameworkElement.)
Public propertyProjection (Inherited from UIElement.)
Public propertyRenderSize
Gets (or sets, but see Remarks) the final render size of this element.
(Inherited from UIElement.)
Public propertyRenderTransform
Gets or sets transform information that affects the rendering position of this element. This is a dependency property.
(Inherited from UIElement.)
Public propertyRenderTransformOrigin
Gets or sets the center point of any possible render transform declared by RenderTransform, relative to the bounds of the element. This is a dependency property.
(Inherited from UIElement.)
Public propertyResources
Gets or sets the locally-defined resource dictionary.
(Inherited from FrameworkElement.)
Public propertyStyle
Gets or sets the style used by this element when it is rendered. This is a dependency property.
(Inherited from FrameworkElement.)
Public propertyTag
Gets or sets an arbitrary object value that can be used to store custom information about this element. This is a dependency property.
(Inherited from FrameworkElement.)
Public propertyTriggers
Gets the collection of triggers established directly on this element, or in child elements.
(Inherited from FrameworkElement.)
Public propertyUseLayoutRounding (Inherited from UIElement.)
Public propertyVerticalAlignment
Gets or sets the vertical alignment characteristics applied to this element when it is composed within a parent element such as a panel or items control. This is a dependency property.
(Inherited from FrameworkElement.)
Public propertyVisibility
Gets or sets the user interface (UI) visibility of this element. This is a dependency property.
(Inherited from UIElement.)
Public propertyWidth
Gets or sets the width of the element. This is a dependency property.
(Inherited from FrameworkElement.)

Attached Properties

  NameDescription
Public attached propertyDock
Gets or sets a value that indicates the position of a child element within a parent DockPanel.

Events

  NameDescription
Public eventBindingValidationError (Inherited from FrameworkElement.)
Public eventGotFocus
Occurs when this element gets logical focus.
(Inherited from UIElement.)
Public eventKeyDown
Occurs when a key is pressed while focus is on this element.
(Inherited from UIElement.)
Public eventKeyUp
Occurs when a key is released while focus is on this element.
(Inherited from UIElement.)
Public eventLayoutUpdated (Inherited from FrameworkElement.)
Public eventLoaded
Occurs when the element is laid out, rendered, and ready for interaction.
(Inherited from FrameworkElement.)
Public eventLostFocus
Occurs when this element loses logical focus.
(Inherited from UIElement.)
Public eventLostMouseCapture
Occurs when this element loses mouse capture.
(Inherited from UIElement.)
Public eventMouseEnter
Occurs when the mouse pointer enters the bounds of this element.
(Inherited from UIElement.)
Public eventMouseLeave
Occurs when the mouse pointer leaves the bounds of this element.
(Inherited from UIElement.)
Public eventMouseLeftButtonDown
Occurs when the left mouse button is pressed while the mouse pointer is over this element.
(Inherited from UIElement.)
Public eventMouseLeftButtonUp
Occurs when the left mouse button is released while the mouse pointer is over this element.
(Inherited from UIElement.)
Public eventMouseMove
Occurs when the mouse pointer moves while over this element.
(Inherited from UIElement.)
Public eventMouseWheel
Occurs when the user rotates the mouse wheel while the mouse pointer is over this element.
(Inherited from UIElement.)
Public eventSizeChanged
Occurs when either the ActualHeight or the ActualWidth properties change value on this element.
(Inherited from FrameworkElement.)

See Also