Back to Devexpress

GridControl.GridDisposing Property

windowsforms-devexpress-dot-xtragrid-dot-gridcontrol-804ff85d.md

latest1.5 KB
Original Source

GridControl.GridDisposing Property

Gets a value indicating whether the current GridControl is being unloaded from memory.

Namespace : DevExpress.XtraGrid

Assembly : DevExpress.XtraGrid.v25.2.dll

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

Declaration

csharp
[Browsable(false)]
public bool GridDisposing { get; }
vb
<Browsable(False)>
Public ReadOnly Property GridDisposing As Boolean

Property Value

TypeDescription
Boolean

true if the current GridControl is being disposed of; otherwise, false.

|

Remarks

The property returns true if the Dispose method was called for the grid control. You should not access the grid’s options when the control is being disposed of.

See Also

GridControl Class

GridControl Members

DevExpress.XtraGrid Namespace