Skip to content

SetDock Method

Description

Sets the MarkupDock property for a specified MarkupUIElement.

Syntax

Public Sub SetDock( _
    ByVal [Element](#) As MarkupUIElement, _
    ByVal [Dock](#) As [MarkupDock](XtremeMarkup~Enumerations~MarkupDock_EN.md) _
)

Parameters

  • Element: The element to which the attached property is written.
  • Dock: The needed MarkupDock value.
Value Description
xtpMarkupDockLeft A child element that is positioned on the left side of the MarkupDockPanel.
xtpMarkupDockTop A child element that is positioned at the top of the MarkupDockPanel.
xtpMarkupDockRight A child element that is positioned on the right side of the MarkupDockPanel.
xtpMarkupDockBottom A child element that is positioned at the bottom of the MarkupDockPanel.

Remarks

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

See Also


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