Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

SpreadsheetControl.UnitChanging Event

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