Back to Devexpress

DockLayoutControl.GetDock(UIElement) Method

wpf-devexpress-dot-xpf-dot-layoutcontrol-dot-docklayoutcontrol-dot-getdock-x28-system-dot-windows-dot-uielement-x29.md

latest1.6 KB
Original Source

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.v25.2.dll

NuGet Package : DevExpress.Wpf.LayoutControl

Declaration

csharp
public static Dock GetDock(
    UIElement element
)
vb
Public Shared Function GetDock(
    element As UIElement
) As Dock

Parameters

NameTypeDescription
elementUIElement

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

|

Returns

TypeDescription
Dock

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

|

See Also

DockLayoutControl Class

DockLayoutControl Members

DevExpress.Xpf.LayoutControl Namespace