SpreadsheetControl.UnitChanging Event

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

Namespace: DevExpress.XtraSpreadsheet

Assembly: DevExpress.XtraSpreadsheet.v21.2.dll


public event EventHandler UnitChanging

Event Data

The UnitChanging event's data class is EventArgs.


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