Back to Devexpress

DockLayoutControl.SetDock(UIElement, Dock) Method

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

latest1.7 KB
Original Source

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

NuGet Package : DevExpress.Wpf.LayoutControl

Declaration

csharp
public static void SetDock(
    UIElement element,
    Dock value
)
vb
Public Shared Sub SetDock(
    element As UIElement,
    value As Dock
)

Parameters

NameTypeDescription
elementUIElement

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

DockLayoutControl Class

DockLayoutControl Members

DevExpress.Xpf.LayoutControl Namespace