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

DockLayoutControl.GetDock(UIElement) Method

Gets 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 Dock GetDock(
    UIElement element
)

Parameters

Name Type Description
element UIElement

A UIElement object whose DockLayoutControl.Dock property’s value is to be returned.

Returns

Type Description
Dock

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

See Also