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.v20.1.dll

Declaration

public Style ItemSelectionIndicatorStyle { get; set; }
Public Property ItemSelectionIndicatorStyle As Style

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