SpreadsheetControl.UnitChanging Event
Fires before a unit of measurement used within the workbook is changed.
Namespace: DevExpress.XtraSpreadsheet
Assembly: DevExpress.XtraSpreadsheet.v24.1.dll
NuGet Package: DevExpress.Win.Spreadsheet
Declaration
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