Worksheet |
The WorksheetController type exposes the following members.
| Name | Description | |
|---|---|---|
| AdjustXScrollBarMaximum | Recalculates the maximum value of the horizontal scroll bar. | |
| AdjustXScrollBarViewPortSize | Adjusts 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. | |
| AdjustYScrollBarMaximum | Recalculates the maximum value of the vertical scroll bar. | |
| Apply | Called when the user input has to be applied to the document being controlled. Returns if apply is successful. | |
| BuildNavPoint |
Builds an INavigationPoint for the current position.
(Inherited from AbstractViewContent) | |
| CanClose |
Determines whether the view content can be closed.
(Inherited from AbstractViewContent) | |
| ClearAllSelections | Clears all selections of columns, rows or property columns. | |
| ClearIsDirty |
Clears the dirty state.
(Inherited from AbstractViewContent) | |
| Copy | Copies the current cell-edit selection or the selected worksheet items. | |
| CreateResizingPositions | Rebuilds the cached list of column-divider positions used for column resizing. | |
| Cut | Cuts the current cell-edit selection or the selected worksheet items. | |
| Delete | Deletes the current cell-edit content, the current selection, or the worksheet itself. | |
| Dispose | Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. (Overrides AbstractViewContentDispose) | |
| EhPropertyDataChanged | Handles changes in worksheet property-column data. | |
| EhTable_Changed | Handles changes of the worksheet table, for example table renaming. | |
| EhTableDataChanged | Handles changes in worksheet data values. | |
| EhTitleLocalizationChanged |
Updates the title when the localized title changes.
(Inherited from AbstractViewContent) | |
| EhView_HorzScrollBarScroll | Handles scrolling of the horizontal scrollbar in the view. | |
| EhView_KeyDown | Handles keyboard navigation commands from the view. | |
| EhView_TableAreaMouseClick | Handles mouse clicks in the table area. | |
| EhView_TableAreaMouseDoubleClick | Handles mouse double-clicks in the table area. | |
| EhView_TableAreaMouseDown | Handles mouse-button presses over the table area. | |
| EhView_TableAreaMouseMove | Handles mouse movement over the table area. | |
| EhView_TableAreaMouseUp | Handles mouse-button release over the table area. | |
| EhView_TableAreaMouseWheel | Handles the mouse wheel event. | |
| EhView_TableAreaSizeChanged | Handles changes in the size of the table area. | |
| EhView_VertScrollBarScroll | Handles scrolling of the vertical scrollbar in the view. | |
| Equals | Determines whether the specified object is equal to the current object. (Inherited from Object) | |
| Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object) | |
| GetDataColumnStyle | Retrieves the column style for the data column with index i. | |
| GetHashCode | Serves as the default hash function. (Inherited from Object) | |
| GetPropertyColumnStyle | Retrieves the column style for the property column with index i. | |
| GetService(Type) | Gets the service object of the specified type. (Inherited from AbstractViewContent) | |
| GetServiceT |
Gets a required service of the specified type.
(Inherited from AbstractViewContent) | |
| GetType | Gets the Type of the current instance. (Inherited from Object) | |
| InitializeDocument | Initializes the controller with the document. | |
| InternalInitializeWorksheetLayout | Initializes the controller with the specified worksheet layout. | |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object) | |
| NavigateCellEdit | Moves the cell editor to the next editable cell. | |
| NavigatePropertyCellEdit | Moves the cell editor to the next property cell. | |
| NavigateTableCellEdit | Moves the cell editor to the next data cell. | |
| NotifyContentIdChanged |
Can be used to notify the view content that the ContentId maybe has changed.
(Inherited from AbstractViewContent) | |
| OnClose |
Closes the view content.
(Inherited from AbstractViewContent) | |
| OnIsDirtyChanged |
Raises notifications that the dirty state has changed.
(Inherited from AbstractViewContent) | |
| OnLeftClickDataCell | Handles a left-click on a data cell. | |
| OnLeftClickDataColumnHeader | Handles a left-click on a data-column header. | |
| OnLeftClickDataRowHeader | Handles a left-click on a data-row header. | |
| OnLeftClickOutsideAll | Raises the event for a left-click outside all worksheet areas. | |
| OnLeftClickPropertyCell | Handles a left-click on a property cell. | |
| OnLeftClickPropertyColumnHeader | Handles a left-click on a property-column header. | |
| OnLeftClickTableHeader | Raises the event for a left-click on the table header. | |
| OnPropertyChanged |
Raises the PropertyChanged event.
(Inherited from AbstractViewContent) | |
| OnRightClickDataCell | Raises the event for a right-click on a data cell. | |
| OnRightClickDataColumnHeader | Raises the event for a right-click on a data-column header and shows the context menu. | |
| OnRightClickDataRowHeader | Raises the event for a right-click on a data-row header and shows the context menu. | |
| OnRightClickOutsideAll | Raises the event for a right-click outside all worksheet areas and shows the context menu. | |
| OnRightClickPropertyCell | Raises the event for a right-click on a property cell. | |
| OnRightClickPropertyColumnHeader | Raises the event for a right-click on a property-column header and shows the context menu. | |
| OnRightClickTableHeader | Raises the event for a right-click on the table header and shows the context menu. | |
| Paste | Pastes clipboard content into the active cell editor or worksheet selection. | |
| Revert | Try to revert changes to the model, i.e. restores the original state of the model. | |
| SelectAll | Selects all data columns in the worksheet. | |
| SetCachedNumberOfDataColumns | Updates the cached number of data columns. | |
| SetCachedNumberOfDataRows | Updates the cached number of data rows. | |
| SetCachedNumberOfPropertyColumns | Updates the cached number of property columns. | |
| SetDirty |
Sets the dirty state.
(Inherited from AbstractViewContent) | |
| SetDisposeInProgress |
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) | |
| SetLocalizedInfoTip |
Sets a localized info tip that will update automatically when the language changes.
(Inherited from AbstractViewContent) | |
| SetLocalizedTitle |
Sets a localized title that will update automatically when the language changes.
(Inherited from AbstractViewContent) | |
| SetMemberVariablesToDefault | Set the member variables to default values. Intended only for use in constructors and deserialization code. | |
| SetScrollPositionTo | SetScrollPositions only sets the scroll positions, and not Invalidates the Area! | |
| TableAreaInvalidate | Forces redraw of the table. | |
| ToString | Returns a string that represents the current object. (Inherited from Object) | |
| TriggerRedrawing | Forces the view to redraw its table area, updating the display to reflect any recent changes. |