Skip to main content

SeparatorItem Class

A line that you can place between neighboring UI elements to improve the display of your application’s layout.

Namespace: DevExpress.Xpf.Docking

Assembly: DevExpress.Xpf.Docking.v24.1.dll

NuGet Package: DevExpress.Wpf.Docking

Declaration

public class SeparatorItem :
    FixedItem

Remarks

The following code sample adds SeparatorItem to the application’s layout:

<Window ...
    xmlns:dxdo="http://schemas.devexpress.com/winfx/2008/xaml/docking">
    <Grid>
        <dxdo:DockLayoutManager>
            <dxdo:LayoutGroup>
                <dxdo:LayoutGroup Orientation="Vertical">
                    <dxdo:LayoutGroup>
                        <dxdo:LabelItem Caption="First Name"/>
                        <dxdo:LayoutControlItem>
                            <TextBox Text="Arnold"/>
                        </dxdo:LayoutControlItem>
                    </dxdo:LayoutGroup>
                    <dxdo:LayoutGroup>
                        <dxdo:LabelItem Caption="Last Name"/>
                        <dxdo:LayoutControlItem>
                            <TextBox Text="Schwartz"/>
                        </dxdo:LayoutControlItem>
                    </dxdo:LayoutGroup>
                    <dxdo:SeparatorItem/>
                    <dxdo:LayoutGroup>
                        <dxdo:LabelItem Caption="Department"/>
                        <dxdo:LayoutControlItem>
                            <TextBox Text="Engineering"/>
                        </dxdo:LayoutControlItem>
                    </dxdo:LayoutGroup>
                    <!-- ... -->
                </dxdo:LayoutGroup>
            </dxdo:LayoutGroup>
        </dxdo:DockLayoutManager>
    </Grid>
<Window>

WPF DockLayoutManager - SeparatorItem

Inheritance

Show 11 items
See Also