Interface ISheet
Defines core properties and layout operations for worksheet and chart sheet types within a workbook.
Namespace: Telerik.Windows.Documents.Spreadsheet.Model
Assembly: Telerik.Windows.Documents.Spreadsheet.dll
Syntax
public interface ISheet
Properties
IsLayoutUpdateSuspended
Gets whether layout recalculation is temporarily suspended for batch operations.
Declaration
bool IsLayoutUpdateSuspended { get; }
Property Value
|
System.Boolean
The value indicating whether the layout update is suspended. |
Name
Gets or sets the display name shown on the sheet tab.
Declaration
string Name { get; set; }
Property Value
|
System.String
The name of the sheet. |
Type
Gets the sheet type, distinguishing between worksheet and chart sheet.
Declaration
SheetType Type { get; }
Property Value
|
SheetType
The type of the sheet. |
ViewState
Gets the view-related state including tab color and invalidation status.
Declaration
ISheetViewState ViewState { get; }
Property Value
|
ISheetViewState
The view state of the sheet. |
Visibility
Gets the visibility state controlling whether the sheet is visible, hidden, or very hidden.
Declaration
SheetVisibility Visibility { get; }
Property Value
|
SheetVisibility
The visibility. |
Workbook
Gets the parent workbook containing this sheet.
Declaration
Workbook Workbook { get; }
Property Value
|
Workbook
The workbook. |
Methods
InvalidateLayout()
Marks the layout as needing recalculation and triggers the LayoutInvalidated event.
Declaration
void InvalidateLayout()
ResumeLayoutUpdate()
Resumes automatic layout recalculation after suspension, triggering any pending updates.
Declaration
void ResumeLayoutUpdate()
SuspendLayoutUpdate()
Suspends automatic layout recalculation to improve performance during batch modifications.
Declaration
void SuspendLayoutUpdate()
Events
LayoutInvalidated
Raised when the layout is invalidated and requires recalculation.
Declaration
event EventHandler LayoutInvalidated
Event Type
|
System.EventHandler
|