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

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