# WorkbookEventArgs Class

> WorkbookEventArgs class in the TX Sheet Control .NET API: Detached workbook event context. Cancellation is honored by before-events, Loading and Saving.

- **Product:** TX Sheet Control
- **Section:** Documentation
- **Kind:** Class
- **Namespace:** `TXTextControl.TXSheetControl.Server`
- **Package:** `TXTextControl.TXSheetControl.Server` (assembly `TXTextControl.TXSheetControl.Api.dll`, from the private NuGet feed or the supplied NuGet folder)
- **Package:** `TXTextControl.TXSheetControl.Blazor` (assembly `TXTextControl.TXSheetControl.Api.dll`, from the private NuGet feed or the supplied NuGet folder)
- **Inherits:** `System.EventArgs`
- **Path:** TX Sheet Control > API Reference > .NET API > TXTextControl.TXSheetControl.Server > WorkbookEventArgs Class
- **Web URL:** https://docs.textcontrol.com/tx-sheet-control/reference/dotnet-api/txtextcontrol-txsheetcontrol-server/workbookeventargs/
- **LLMs URL:** https://docs.textcontrol.com/tx-sheet-control/reference/dotnet-api/txtextcontrol-txsheetcontrol-server/workbookeventargs/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-sheet-control/reference/dotnet-api/txtextcontrol-txsheetcontrol-server/workbookeventargs/llms-full.txt

---

## On This Page

- [Syntax](https://docs.textcontrol.com/tx-sheet-control/reference/dotnet-api/txtextcontrol-txsheetcontrol-server/workbookeventargs/#syntax)
- [Members](https://docs.textcontrol.com/tx-sheet-control/reference/dotnet-api/txtextcontrol-txsheetcontrol-server/workbookeventargs/#members)
- [Examples](https://docs.textcontrol.com/tx-sheet-control/reference/dotnet-api/txtextcontrol-txsheetcontrol-server/workbookeventargs/#examples)
- [See Also](https://docs.textcontrol.com/tx-sheet-control/reference/dotnet-api/txtextcontrol-txsheetcontrol-server/workbookeventargs/#see-also)

---

## In This Section

- [WorkbookEventArgs.Address Property](https://docs.textcontrol.com/tx-sheet-control/reference/dotnet-api/txtextcontrol-txsheetcontrol-server/workbookeventargs/address-property/llms.txt): WorkbookEventArgs.Address property in the TX Sheet Control .NET API: Single-cell address for interaction and editing events.
- [WorkbookEventArgs.Addresses Property](https://docs.textcontrol.com/tx-sheet-control/reference/dotnet-api/txtextcontrol-txsheetcontrol-server/workbookeventargs/addresses-property/llms.txt): WorkbookEventArgs.Addresses property in the TX Sheet Control .NET API: Affected A1 cell addresses. Covers its type string[] and a C# example.
- [WorkbookEventArgs.AllowInvalid Property](https://docs.textcontrol.com/tx-sheet-control/reference/dotnet-api/txtextcontrol-txsheetcontrol-server/workbookeventargs/allowinvalid-property/llms.txt): WorkbookEventArgs.AllowInvalid property in the TX Sheet Control .NET API: Explicitly accepts a non-stop validation failure. Stop constraints remain enforced.
- [WorkbookEventArgs.ByteLength Property](https://docs.textcontrol.com/tx-sheet-control/reference/dotnet-api/txtextcontrol-txsheetcontrol-server/workbookeventargs/bytelength-property/llms.txt): WorkbookEventArgs.ByteLength property in the TX Sheet Control .NET API: Known input/output length in bytes. Covers its type long? and a C# example.
- [WorkbookEventArgs.CanCancel Property](https://docs.textcontrol.com/tx-sheet-control/reference/dotnet-api/txtextcontrol-txsheetcontrol-server/workbookeventargs/cancancel-property/llms.txt): WorkbookEventArgs.CanCancel property in the TX Sheet Control .NET API: True only for events that can stop the proposed operation.
- [WorkbookEventArgs.Cancel Property](https://docs.textcontrol.com/tx-sheet-control/reference/dotnet-api/txtextcontrol-txsheetcontrol-server/workbookeventargs/cancel-property/llms.txt): WorkbookEventArgs.Cancel property in the TX Sheet Control .NET API: Set synchronously in a cancellable event handler to roll back the attempted operation.
- [WorkbookEventArgs.Completed Property](https://docs.textcontrol.com/tx-sheet-control/reference/dotnet-api/txtextcontrol-txsheetcontrol-server/workbookeventargs/completed-property/llms.txt): WorkbookEventArgs.Completed property in the TX Sheet Control .NET API: Actual completed work in Unit. Counts restart when the phase changes.
- [WorkbookEventArgs Constructor](https://docs.textcontrol.com/tx-sheet-control/reference/dotnet-api/txtextcontrol-txsheetcontrol-server/workbookeventargs/constructor/llms.txt): WorkbookEventArgs constructor in the TX Sheet Control .NET API, with its syntax, a C# example and remarks on awaiting tasks and handles.
- [WorkbookEventArgs.Data Property](https://docs.textcontrol.com/tx-sheet-control/reference/dotnet-api/txtextcontrol-txsheetcontrol-server/workbookeventargs/data-property/llms.txt): WorkbookEventArgs.Data property in the TX Sheet Control .NET API: Detached event-specific values, including input, value or calculation pendingCount.
- [WorkbookEventArgs.ErrorCode Property](https://docs.textcontrol.com/tx-sheet-control/reference/dotnet-api/txtextcontrol-txsheetcontrol-server/workbookeventargs/errorcode-property/llms.txt): WorkbookEventArgs.ErrorCode property in the TX Sheet Control .NET API: Diagnostic code on FileOperationFailed, when available.
- [WorkbookEventArgs.ErrorMessage Property](https://docs.textcontrol.com/tx-sheet-control/reference/dotnet-api/txtextcontrol-txsheetcontrol-server/workbookeventargs/errormessage-property/llms.txt): WorkbookEventArgs.ErrorMessage property in the TX Sheet Control .NET API: Diagnostic message on FileOperationFailed. Covers its type string? and a C# example.
- [WorkbookEventArgs.IsCanceled Property](https://docs.textcontrol.com/tx-sheet-control/reference/dotnet-api/txtextcontrol-txsheetcontrol-server/workbookeventargs/iscanceled-property/llms.txt): WorkbookEventArgs.IsCanceled property in the TX Sheet Control .NET API: True for a failed operation stopped by an event handler or cancellation request.
- [WorkbookEventArgs.Name Property](https://docs.textcontrol.com/tx-sheet-control/reference/dotnet-api/txtextcontrol-txsheetcontrol-server/workbookeventargs/name-property/llms.txt): WorkbookEventArgs.Name property in the TX Sheet Control .NET API: The event name shared with the JavaScript typed event surface.
- [WorkbookEventArgs.Operation Property](https://docs.textcontrol.com/tx-sheet-control/reference/dotnet-api/txtextcontrol-txsheetcontrol-server/workbookeventargs/operation-property/llms.txt): WorkbookEventArgs.Operation property in the TX Sheet Control .NET API: File operation kind: load or save. Null for other workbook events.
- [WorkbookEventArgs.OperationId Property](https://docs.textcontrol.com/tx-sheet-control/reference/dotnet-api/txtextcontrol-txsheetcontrol-server/workbookeventargs/operationid-property/llms.txt): WorkbookEventArgs.OperationId property in the TX Sheet Control .NET API: Opaque correlation ID for one load/save operation, including concurrent calls.
- [WorkbookEventArgs.Phase Property](https://docs.textcontrol.com/tx-sheet-control/reference/dotnet-api/txtextcontrol-txsheetcontrol-server/workbookeventargs/phase-property/llms.txt): WorkbookEventArgs.Phase property in the TX Sheet Control .NET API: Processing stage: reading, parsing, snapshot, exporting, rendering, writing or completed.
- [WorkbookEventArgs.SheetId Property](https://docs.textcontrol.com/tx-sheet-control/reference/dotnet-api/txtextcontrol-txsheetcontrol-server/workbookeventargs/sheetid-property/llms.txt): WorkbookEventArgs.SheetId property in the TX Sheet Control .NET API: Worksheet identity independent of the active sheet.
- [WorkbookEventArgs.Source Property](https://docs.textcontrol.com/tx-sheet-control/reference/dotnet-api/txtextcontrol-txsheetcontrol-server/workbookeventargs/source-property/llms.txt): WorkbookEventArgs.Source property in the TX Sheet Control .NET API: The originating operation, when available. Covers its type string? and a C# example.
- [WorkbookEventArgs.Sources Property](https://docs.textcontrol.com/tx-sheet-control/reference/dotnet-api/txtextcontrol-txsheetcontrol-server/workbookeventargs/sources-property/llms.txt): WorkbookEventArgs.Sources property in the TX Sheet Control .NET API: Contributing operations inside one atomic batch. Covers its type string[] and a C# example.
- [WorkbookEventArgs.StreamType Property](https://docs.textcontrol.com/tx-sheet-control/reference/dotnet-api/txtextcontrol-txsheetcontrol-server/workbookeventargs/streamtype-property/llms.txt): WorkbookEventArgs.StreamType property in the TX Sheet Control .NET API: File format involved in the operation. PDF is save-only.
- [WorkbookEventArgs.Total Property](https://docs.textcontrol.com/tx-sheet-control/reference/dotnet-api/txtextcontrol-txsheetcontrol-server/workbookeventargs/total-property/llms.txt): WorkbookEventArgs.Total property in the TX Sheet Control .NET API: Known amount of work in Unit, or null for indeterminate stages.
- [WorkbookEventArgs.Unit Property](https://docs.textcontrol.com/tx-sheet-control/reference/dotnet-api/txtextcontrol-txsheetcontrol-server/workbookeventargs/unit-property/llms.txt): WorkbookEventArgs.Unit property in the TX Sheet Control .NET API: Progress counter unit: bytes or pages. Null when only a processing phase is known.
- [WorkbookEventArgs.Warnings Property](https://docs.textcontrol.com/tx-sheet-control/reference/dotnet-api/txtextcontrol-txsheetcontrol-server/workbookeventargs/warnings-property/llms.txt): WorkbookEventArgs.Warnings property in the TX Sheet Control .NET API: Detached import notices on Loaded; empty for other events.

---

## Nearby

- **Previous:** [WorkbookCommand.Method Property](https://docs.textcontrol.com/tx-sheet-control/reference/dotnet-api/txtextcontrol-txsheetcontrol-server/workbookcommand/method-property/llms.txt)
- **Next:** [WorkbookEventArgs Constructor](https://docs.textcontrol.com/tx-sheet-control/reference/dotnet-api/txtextcontrol-txsheetcontrol-server/workbookeventargs/constructor/llms.txt)
