GridControl.GridDisposing Property

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

Namespace: DevExpress.XtraGrid

Assembly: DevExpress.XtraGrid.v20.1.dll

Declaration

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

Property Value

Type Description
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