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