TdxSpreadSheetCustomView Class
The base class for all View classes.
Declaration
TdxSpreadSheetCustomView = class(
TdxSpreadSheetPersistentObject,
IdxSpreadSheetViewCaption,
IdxSpreadSheetObjectLink
)
Remarks
This class implements the base functionality required by all worksheet types. The term View corresponds to the specific data representation within a worksheet. A TdxSpreadSheetCustomView
object is a generic worksheet representation of an actual worksheet created within the Spreadsheet control, allowing you to access and customize the settings common to all sheet types, such as the caption, visibility flag, container collection, etc.
The TdxSpreadSheetCustomView
class extends its ancestor with members allowing you to:
Specify whether the current worksheet is active (Active);
Specify whether the worksheet tab is currently available (i.e., visible within the caption bar area) to an end-user (Visible);
Set the caption displayed by the worksheet tab and its position on the caption bar area (Caption and Index);
Obtain the boundaries of the displayed worksheet area (Bounds);
Manage the worksheet’s floating container collection (Containers);
Obtain the worksheet’s HitTest information (HitTest);
Obtain the cell styles technical information (CellStyles);
Manage worksheet repainting (BeginUpdate, EndUpdate, Invalidate, and InvalidateRect).
A TdxSpreadSheetCustomView
object is referenced by the Spreadsheet Control‘s ActiveSheet, Sheets, and VisibleSheets properties. Since this object is a generic worksheet representation, you need to cast it to the actual sheet type (i.e., a View class derived from the TdxSpreadSheetCustomView
class) in order to get access to the type-specific properties and methods. The current version of the Spreadsheet control allows you to create only the Table View worksheets.
Note
Any custom implementations of additional View worksheets should be inherited from the TdxSpreadSheetCustomView
class.