Manages per-sheet UI state (SheetView instances) for a workbook. Each sheet gets its own view with independent undo/redo history and rendering state.
Object
Namespace: Radzen.Blazor.Spreadsheet
Assembly: Radzen.Blazor.dll
public class WorkbookViewInitializes a new instance of the WorkbookView class.
public WorkbookView(Documents.Spreadsheet.Workbook workbook)
| Type | Name | Description |
|---|---|---|
| Documents.Spreadsheet.Workbook | workbook |
Gets the workbook this view wraps.
public Documents.Spreadsheet.Workbook Workbook { get; }
| Type | Description |
|---|---|
| Documents.Spreadsheet.Workbook | Gets the workbook this view wraps. |
Gets or creates a SheetView for the specified sheet.
public Spreadsheet.SheetView GetView(Documents.Spreadsheet.Worksheet sheet)
| Type | Name | Description |
|---|---|---|
| Documents.Spreadsheet.Worksheet | sheet |
| Type | Description |
|---|---|
| Spreadsheet.SheetView |
Removes the view for the specified sheet, freeing its undo history and rendering state.
public bool Remove(Documents.Spreadsheet.Worksheet sheet)
| Type | Name | Description |
|---|---|---|
| Documents.Spreadsheet.Worksheet | sheet |
| Type | Description |
|---|---|
| bool |