Edit

Share via


DockPanel Class

Definition

Defines an area where you can arrange child elements either horizontally or vertically, relative to each other.

public class DockPanel : Windows.UI.Xaml.Controls.Panel
type DockPanel = class
    inherit Panel
Public Class DockPanel
Inherits Panel
Inheritance
Windows.UI.Xaml.Controls.Panel
DockPanel

Constructors

DockPanel()

Fields

DockProperty

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

LastChildFillProperty

Identifies the LastChildFill dependency property.

PaddingProperty

Identifies the Padding dependency property.

Properties

LastChildFill

Gets or sets a value indicating whether the last child element within a DockPanel stretches to fill the remaining available space.

Padding

Gets or sets the distance between the border and its child object.

Attached Properties

Dock

Methods

ArrangeOverride(Size) Windows.UI.Xaml.Controls.Panel.ArrangeOverride(Windows.Foundation.Size)
GetDock(FrameworkElement)

Gets DockProperty attached property

MeasureOverride(Size) Windows.UI.Xaml.Controls.Panel.MeasureOverride(Windows.Foundation.Size)
SetDock(FrameworkElement, Dock)

Sets DockProperty attached property

Applies to