Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

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

NuGet Package: DevExpress.Wpf.LayoutControl

#Declaration

public Style ItemSizerStyle { get; set; }

#Property Value

Type Description
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.

DockLayoutControl_Sizer

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

<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