Back to Devexpress

Workbook.UnitChanging Event

officefileapi-devexpress-dot-spreadsheet-dot-workbook-880dce7c.md

latest1.9 KB
Original Source

Workbook.UnitChanging Event

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.v25.2.dll

NuGet Package : DevExpress.Document.Processor

Declaration

csharp
public event EventHandler UnitChanging
vb
Public Event UnitChanging As EventHandler

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

UnitChanging

See Also

UnitChanged

Measure Units in Spreadsheet Documents

Workbook Class

Workbook Members

DevExpress.Spreadsheet Namespace