Click or drag to resize

WorksheetController Methods

The WorksheetController type exposes the following members.

Methods
 NameDescription
Public methodAdjustXScrollBarMaximum Recalculates the maximum value of the horizontal scroll bar.
Public methodAdjustXScrollBarViewPortSizeAdjusts the X scroll bar viewport size (= size of the thumb). Should be called after the X scrollbar maximum is adjusted or when the width of the columns changes considerably. Here, we want to avoid that the thumb size changing while we scroll through the worksheet. Thus, we calculate an average value for the thumb size that is the relation of the table-area width and the total width of all data columns.
Public methodAdjustYScrollBarMaximum Recalculates the maximum value of the vertical scroll bar.
Public methodApply Called when the user input has to be applied to the document being controlled. Returns if apply is successful.
Public methodBuildNavPoint Builds an INavigationPoint for the current position.
(Inherited from AbstractViewContent)
Protected methodCanClose Determines whether the view content can be closed.
(Inherited from AbstractViewContent)
Public methodClearAllSelections Clears all selections of columns, rows or property columns.
Public methodClearIsDirty Clears the dirty state.
(Inherited from AbstractViewContent)
Public methodCopy Copies the current cell-edit selection or the selected worksheet items.
Public methodCreateResizingPositions Rebuilds the cached list of column-divider positions used for column resizing.
Public methodCut Cuts the current cell-edit selection or the selected worksheet items.
Public methodDelete Deletes the current cell-edit content, the current selection, or the worksheet itself.
Public methodDisposePerforms application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
(Overrides AbstractViewContentDispose)
Public methodEhPropertyDataChanged Handles changes in worksheet property-column data.
Public methodEhTable_Changed Handles changes of the worksheet table, for example table renaming.
Public methodEhTableDataChanged Handles changes in worksheet data values.
Protected methodEhTitleLocalizationChanged Updates the title when the localized title changes.
(Inherited from AbstractViewContent)
Public methodEhView_HorzScrollBarScroll Handles scrolling of the horizontal scrollbar in the view.
Public methodEhView_KeyDown Handles keyboard navigation commands from the view.
Public methodEhView_TableAreaMouseClick Handles mouse clicks in the table area.
Public methodEhView_TableAreaMouseDoubleClick Handles mouse double-clicks in the table area.
Public methodEhView_TableAreaMouseDown Handles mouse-button presses over the table area.
Public methodEhView_TableAreaMouseMove Handles mouse movement over the table area.
Public methodEhView_TableAreaMouseUp Handles mouse-button release over the table area.
Public methodEhView_TableAreaMouseWheel Handles the mouse wheel event.
Public methodEhView_TableAreaSizeChanged Handles changes in the size of the table area.
Public methodEhView_VertScrollBarScroll Handles scrolling of the vertical scrollbar in the view.
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
Public methodGetDataColumnStyle Retrieves the column style for the data column with index i.
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetPropertyColumnStyle Retrieves the column style for the property column with index i.
Public methodGetService(Type)Gets the service object of the specified type.
(Inherited from AbstractViewContent)
Public methodGetServiceT Gets a required service of the specified type.
(Inherited from AbstractViewContent)
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Public methodInitializeDocument Initializes the controller with the document.
Protected methodInternalInitializeWorksheetLayout Initializes the controller with the specified worksheet layout.
Protected methodMemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
Protected methodNavigateCellEdit Moves the cell editor to the next editable cell.
Protected methodNavigatePropertyCellEdit Moves the cell editor to the next property cell.
Protected methodNavigateTableCellEdit Moves the cell editor to the next data cell.
Public methodNotifyContentIdChanged Can be used to notify the view content that the ContentId maybe has changed.
(Inherited from AbstractViewContent)
Protected methodOnClose Closes the view content.
(Inherited from AbstractViewContent)
Public methodOnIsDirtyChanged Raises notifications that the dirty state has changed.
(Inherited from AbstractViewContent)
Protected methodOnLeftClickDataCell Handles a left-click on a data cell.
Protected methodOnLeftClickDataColumnHeader Handles a left-click on a data-column header.
Protected methodOnLeftClickDataRowHeader Handles a left-click on a data-row header.
Protected methodOnLeftClickOutsideAll Raises the event for a left-click outside all worksheet areas.
Protected methodOnLeftClickPropertyCell Handles a left-click on a property cell.
Protected methodOnLeftClickPropertyColumnHeader Handles a left-click on a property-column header.
Protected methodOnLeftClickTableHeader Raises the event for a left-click on the table header.
Protected methodOnPropertyChanged Raises the PropertyChanged event.
(Inherited from AbstractViewContent)
Protected methodOnRightClickDataCell Raises the event for a right-click on a data cell.
Protected methodOnRightClickDataColumnHeader Raises the event for a right-click on a data-column header and shows the context menu.
Protected methodOnRightClickDataRowHeader Raises the event for a right-click on a data-row header and shows the context menu.
Protected methodOnRightClickOutsideAll Raises the event for a right-click outside all worksheet areas and shows the context menu.
Protected methodOnRightClickPropertyCell Raises the event for a right-click on a property cell.
Protected methodOnRightClickPropertyColumnHeader Raises the event for a right-click on a property-column header and shows the context menu.
Protected methodOnRightClickTableHeader Raises the event for a right-click on the table header and shows the context menu.
Public methodPaste Pastes clipboard content into the active cell editor or worksheet selection.
Public methodRevert Try to revert changes to the model, i.e. restores the original state of the model.
Public methodSelectAll Selects all data columns in the worksheet.
Protected methodSetCachedNumberOfDataColumns Updates the cached number of data columns.
Protected methodSetCachedNumberOfDataRows Updates the cached number of data rows.
Protected methodSetCachedNumberOfPropertyColumns Updates the cached number of property columns.
Public methodSetDirty Sets the dirty state.
(Inherited from AbstractViewContent)
Public methodSetDisposeInProgress Announces that this view content is about to be disposed very soon. The view content should remain passiv (e.g. should not react to events any more), but should not release its resources yet (this is done later in Dispose).
(Inherited from AbstractViewContent)
Protected methodSetLocalizedInfoTip Sets a localized info tip that will update automatically when the language changes.
(Inherited from AbstractViewContent)
Protected methodSetLocalizedTitle Sets a localized title that will update automatically when the language changes.
(Inherited from AbstractViewContent)
Protected methodSetMemberVariablesToDefault Set the member variables to default values. Intended only for use in constructors and deserialization code.
Protected methodSetScrollPositionTo SetScrollPositions only sets the scroll positions, and not Invalidates the Area!
Public methodTableAreaInvalidate Forces redraw of the table.
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)
Public methodTriggerRedrawing Forces the view to redraw its table area, updating the display to reflect any recent changes.
Top
See Also