Skip to main content
A newer version of this page is available. .

DockLayoutControl.SetDock(UIElement, Dock) Method

Sets the value of the DockLayoutControl.Dock attached property for the specified object.

Namespace: DevExpress.Xpf.LayoutControl

Assembly: DevExpress.Xpf.LayoutControl.v20.2.dll

NuGet Packages: DevExpress.WindowsDesktop.Wpf.LayoutControl, DevExpress.Wpf.Layout

Declaration

public static void SetDock(
    UIElement element,
    Dock value
)

Parameters

Name Type Description
element UIElement

A UIElement object whose DockLayoutControl.Dock attached property is to be set.

value Dock

The new value of the DockLayoutControl.Dock attached property

See Also