Class WorksheetView
WorksheetView implements a single page in a WorkbookView. It is essentially a panel that hosts a child control that is created from the Content of a WorksheetModel.
Inherited Members
Namespace: Syncfusion.Windows.Forms
Assembly: Syncfusion.Shared.Base.dll
Syntax
public class WorksheetView : TabBarPage, IDynamicSplitterFrame, IInternalSplitterParent, IThemedControl, IContainerControl
Remarks
Multiple WorksheetView controls can share the same WorksheetModel. Each WorksheetView that is displayed in a WorkbookView is associated with a WorksheetModel from the Worksheets collection in a WorkbookModel object.
Constructors
WorksheetView(WorksheetModel, WorkbookView)
Initializes a new WorksheetView for an existing WorksheetModel and a WorkbookView that displays this sheet.
Declaration
public WorksheetView(WorksheetModel worksheet, WorkbookView workbookView)
Parameters
Type | Name | Description |
---|---|---|
WorksheetModel | worksheet | The WorksheetModel that manages the data for this view. |
WorkbookView | workbookView | The WorkbookView that displays this sheet as a page. |
Properties
WorkbookView
Returns the WorkbookView that displays this sheet as a page.
Declaration
public WorkbookView WorkbookView { get; }
Property Value
Type |
---|
WorkbookView |
Worksheet
Returns the WorksheetModel that manages the data for this view.
Declaration
public WorksheetModel Worksheet { get; }
Property Value
Type |
---|
WorksheetModel |
Methods
Dispose(Boolean)
Declaration
protected override void Dispose(bool disposing)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | disposing |
Overrides
InitLayout()
Declaration
protected override void InitLayout()
OnTextChanged(EventArgs)
Declaration
protected override void OnTextChanged(EventArgs e)
Parameters
Type | Name | Description |
---|---|---|
System.EventArgs | e |
Overrides
OnToolTipTextChanged(EventArgs)
Declaration
protected override void OnToolTipTextChanged(EventArgs e)
Parameters
Type | Name | Description |
---|---|---|
System.EventArgs | e |
Overrides
Implements
System.Windows.Forms.IContainerControl