Skip to content

MarkupDockPanel Object

Description

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

For a list of all members defined in this module, see MarkupDockPanel Members.

Object Model

MarkupDockPanel Object Model
Render Transform
Margin
Background
Mouse Leave Event
Mouse Enter Event
Mouse Left Button Up Event
Mouse Left Button Down Event
Mouse Right Button Up Event
Mouse Right Button Down Event
Mouse Move Event
Lost Mouse Capture Event
Find Name
Visual Parent
Children
Markup UI Element

Remarks

The MarkupDockPanel element is used to position child content along the edge of a layout container.

The SetDock method changes the position of an element relative to other elements within the same container. Alignment properties, such as HorizontalAlignment, change the position of an element relative to its parent element.

If you set the LastChildFill property to true, the last child element of a MarkupDockPanel always fills the remaining space, regardless of any other dock value that you set on the last child element. To dock a child element in another direction, you must set the LastChildFill property to false and must also specify an explicit dock direction for the last child element.

See Also

MarkupDockPanel Members


Copyright (c) 1998-2024 Codejock Technologies. All rights reserved.