LayoutSplitter Class
Allows you to resize a layout item at runtime.
Namespace: DevExpress.Xpf.Docking
Assembly: DevExpress.Xpf.Docking.v24.1.dll
NuGet Package: DevExpress.Wpf.Docking
Declaration
Remarks
The following code sample adds LayoutSplitter
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 x:Name="frstname" Text="Arnold"/>
</dxdo:LayoutControlItem>
</dxdo:LayoutGroup>
<dxdo:LayoutGroup>
<dxdo:LabelItem Caption="Last Name"/>
<dxdo:LayoutControlItem>
<TextBox x:Name="lstname" Text="Schwartz"/>
</dxdo:LayoutControlItem>
</dxdo:LayoutGroup>
<dxdo:LayoutGroup>
<dxdo:LabelItem Caption="Department"/>
<dxdo:LayoutControlItem>
<TextBox x:Name="dpt" Text="Engineering"/>
</dxdo:LayoutControlItem>
</dxdo:LayoutGroup>
<dxdo:LayoutGroup>
<dxdo:LabelItem Caption="Potision"/>
<dxdo:LayoutControlItem >
<TextBox x:Name="pstn" Text="Manager"/>
</dxdo:LayoutControlItem>
</dxdo:LayoutGroup>
<dxdo:LayoutGroup>
<dxdo:LabelItem Caption="Full Role"/>
<dxdo:LayoutSplitter/>
<dxdo:LayoutControlItem>
<TextBlock>
<TextBlock.Text>
<MultiBinding StringFormat="{}{0} {1} {2} {3}">
<Binding ElementName="dpt" Path="Text" />
<Binding ElementName="pstn" Path="Text" />
<Binding ElementName="frstname" Path="Text" />
<Binding ElementName="lstname" Path="Text" />
</MultiBinding>
</TextBlock.Text>
</TextBlock>
</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
LayoutSplitter
See Also