Back to Devexpress

GridView.IndicatorWidth Property

windowsforms-devexpress-dot-xtragrid-dot-views-dot-grid-dot-gridview-7775d98b.md

latest1.9 KB
Original Source

GridView.IndicatorWidth Property

Gets or sets the width of the row indicator panel.

Namespace : DevExpress.XtraGrid.Views.Grid

Assembly : DevExpress.XtraGrid.v25.2.dll

NuGet Packages : DevExpress.Win.Grid, DevExpress.Win.Navigation

Declaration

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

Property Value

TypeDefaultDescription
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

GridView Class

GridView Members

DevExpress.XtraGrid.Views.Grid Namespace