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
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>
Inheritance
Object
DispatcherObject
DependencyObject
Visual
UIElement
FrameworkElement
Control
DevExpress.Xpf.Docking.psvFrameworkElement
BaseLayoutItem
FixedItem
SeparatorItem
See Also