Skip to main content

GridControl.GridDisposing Property

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

Namespace: DevExpress.XtraGrid

Assembly: DevExpress.XtraGrid.v24.1.dll

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

Declaration

[Browsable(false)]
public bool GridDisposing { get; }

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