Workbook.UnitChanging Event
In This Article
Fires before a unit of measurement used within the workbook is changed.
You need a license for the DevExpress Office File API Subscription or DevExpress Universal Subscription to use this event in production code.
Namespace: DevExpress.Spreadsheet
Assembly: DevExpress.Docs.v24.2.dll
NuGet Package: DevExpress.Document.Processor
#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 Workbook.Unit property is changed.
#Implements
See Also