Back to Devexpress

DockLayoutControl.ItemSizerStyle Property

wpf-devexpress-dot-xpf-dot-layoutcontrol-dot-docklayoutcontrol-ca76b779.md

latest2.1 KB
Original Source

DockLayoutControl.ItemSizerStyle Property

Gets or sets the style applied to visual elements used to re-size the DockLayoutControl’s items vertically or horizontally.

Namespace : DevExpress.Xpf.LayoutControl

Assembly : DevExpress.Xpf.LayoutControl.v25.2.dll

NuGet Package : DevExpress.Wpf.LayoutControl

Declaration

csharp
public Style ItemSizerStyle { get; set; }
vb
Public Property ItemSizerStyle As Style

Property Value

TypeDescription
Style

A Style that is applied to visual elements used to re-size the DockLayoutControl’s items.

|

Remarks

Note

This style is intended for the DevExpress.Xpf.LayoutControl.ElementSizer type.

The following code shows how to change the background color of sizers:

xaml
<UserControl.Resources>
    <Style TargetType="lc:ElementSizer" x:Key="myItemSizer">
        <Setter Property="Background" Value="Red"/>
    </Style>
</UserControl.Resources>
...
<lc:DockLayoutControl x:Name="myDockLayoutControl" ItemSizerStyle="{StaticResource myItemSizer}" >
...

See Also

AllowHorizontalSizing

AllowVerticalSizing

AllowItemSizing

DockLayoutControl Class

DockLayoutControl Members

DevExpress.Xpf.LayoutControl Namespace