Interface
ISheet

Defines core properties and layout operations for worksheet and chart sheet types within a workbook.

Definition

Namespace:Telerik.Windows.Documents.Spreadsheet.Model

Assembly:Telerik.Windows.Documents.Spreadsheet.dll

Syntax:

cs-api-definition
public interface ISheet

Properties

IsLayoutUpdateSuspended

Gets whether layout recalculation is temporarily suspended for batch operations.

Declaration

cs-api-definition
bool IsLayoutUpdateSuspended { get; }

Property Value

bool

The value indicating whether the layout update is suspended.

Name

Gets or sets the display name shown on the sheet tab.

Declaration

cs-api-definition
string Name { get; set; }

Property Value

string

The name of the sheet.

Type

Gets the sheet type, distinguishing between worksheet and chart sheet.

Declaration

cs-api-definition
SheetType Type { get; }

Property Value

SheetType

The type of the sheet.

ViewState

Gets the view-related state including tab color and invalidation status.

Declaration

cs-api-definition
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

cs-api-definition
SheetVisibility Visibility { get; }

Property Value

SheetVisibility

The visibility.

Workbook

Gets the parent workbook containing this sheet.

Declaration

cs-api-definition
Workbook Workbook { get; }

Property Value

Workbook

The workbook.

Methods

InvalidateLayout()

Marks the layout as needing recalculation and triggers the LayoutInvalidated event.

Declaration

cs-api-definition
void InvalidateLayout()

ResumeLayoutUpdate()

Resumes automatic layout recalculation after suspension, triggering any pending updates.

Declaration

cs-api-definition
void ResumeLayoutUpdate()

SuspendLayoutUpdate()

Suspends automatic layout recalculation to improve performance during batch modifications.

Declaration

cs-api-definition
void SuspendLayoutUpdate()

Events

LayoutInvalidated

Raised when the layout is invalidated and requires recalculation.

Declaration

cs-api-definition
event EventHandler LayoutInvalidated

Event Value

EventHandler