SpreadsheetControl.UnitChanging Event

Fires before a unit of measurement used within the workbook is changed.

Namespace: DevExpress.XtraSpreadsheet

Assembly: DevExpress.XtraSpreadsheet.v21.2.dll

Declaration

public event EventHandler UnitChanging

Event Data

The UnitChanging event's data class is EventArgs.

Remarks

Handle the UnitChanging event to validate or cancel the new setting of the document measurement unit. This event occurs before the Unit property of the SpreadsheetControl or IWorkbook object is changed.

See Also