A newer version of this page is available. Switch to the current version.

DataViewBase.SelectionRectangleStyle Property

Gets or sets a style of the marquee selection rectangle. This is a dependency property.

Namespace: DevExpress.Xpf.Grid

Assembly: DevExpress.Xpf.Grid.v19.1.Core.dll


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

Property Value

Type Description

A Style object that represents a style to be applied to the marquee selection rectangle.


Target type: System.Windows.Controls.Border

To learn more, see Styles and Templates Overview.

See the example below.

    <Style TargetType="Border">
        <Setter Property="Opacity" Value="0.1" />
        <Setter Property="Background" Value="Yellow" />
        <Setter Property="BorderBrush" Value="Red" />
        <Setter Property="BorderThickness" Value="2" />
See Also