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

GridView.IndicatorWidth Property

Gets or sets the width of the row indicator panel.

Namespace: DevExpress.XtraGrid.Views.Grid

Assembly: DevExpress.XtraGrid.v19.2.dll

Declaration

[DefaultValue(-1)]
[DXCategory("Appearance")]
[XtraSerializableProperty(XtraSerializationFlags.AutoScaleX)]
public virtual int IndicatorWidth { get; set; }
<DefaultValue(-1)>
<DXCategory("Appearance")>
<XtraSerializableProperty(XtraSerializationFlags.AutoScaleX)>
Public Overridable Property IndicatorWidth As Integer

Property Value

Type Default Description
Int32

-1

An integer value specifying the width of the row indicator panel in pixels.

Remarks

Assigning values less than 4 automatically sets the property to -1.

You can change the IndicatorWidth property to increase the indicator width. For instance, you can paint custom information within the increased indicator area by handling the GridView.CustomDrawRowIndicator event.

See Also