Skip to main content

LayoutControl.ItemSelectionIndicatorStyle Property

Gets or sets the style used to paint selected items in Customization Mode. This is a dependency property.

Namespace: DevExpress.Xpf.LayoutControl

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

NuGet Package: DevExpress.Wpf.LayoutControl

Declaration

public Style ItemSelectionIndicatorStyle { get; set; }

Property Value

Type Description
Style

A Style used to paint selected items in Customization Mode.

Remarks

Note

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

In Customization mode, selected items are highlighted in a specific manner:

SelectedItem

You can customize the selected item’s style via the ItemSelectionIndicatorStyle property.

<UserControl.Resources>
    <Style TargetType="lc:LayoutItemSelectionIndicator" x:Key="myItemSelectionIndicator">
        <Setter Property="Background" Value="#88FFEFD5"/>
        <Setter Property="BorderBrush" Value="RosyBrown"/>
    </Style>
</UserControl.Resources>
...
<lc:LayoutControl x:Name="myLayoutControl" ItemSelectionIndicatorStyle="{StaticResource myItemSelectionIndicator}">
See Also