Worksheet |
public class WorksheetController : AbstractViewContent, IWorksheetController, IMVCANController, IMVCAController, IMVCController, IDisposable, IApplyController
The WorksheetController type exposes the following members.
Name | Description | |
---|---|---|
WorksheetController(DataTable) | Initializes a new instance of the WorksheetController class | |
WorksheetController(WorksheetLayout) | Creates a WorksheetController which shows the table data using the specified layout. | |
WorksheetController(WorksheetViewLayout) | Initializes a new instance of the WorksheetController class |
Name | Description | |
---|---|---|
AreColumnsOrRowsSelected | Returns true if one or more columns, rows or property columns or rows are selected. | |
AreDataCellsSelected | Returns true if one or more data columns or rows are selected. | |
ArePropertyCellsSelected | Returns true if one or more property columns or rows are selected. | |
CloseCommand | (Inherited from AbstractViewContent) | |
CloseWithSolution | (Inherited from AbstractViewContent) | |
ContentId |
Gets or sets the content identifier. Here, the content identifier is calculated of the reference hash of the document.
Setting is not implemented here.
(Inherited from AbstractViewContent) | |
DataTable | ||
EnableCopy | ||
EnableCut | ||
EnableDelete | ||
EnablePaste | ||
EnableSelectAll | ||
FirstVisibleColumn | ||
FirstVisiblePropertyColumn | ||
FirstVisibleTableRow | ||
FullyVisibleColumns | ||
FullyVisiblePropertyColumns | ||
FullyVisibleTableRows | ||
HorzScrollMaximum | ||
HorzScrollPos | ||
IconSource | (Inherited from AbstractViewContent) | |
InfoTip | (Inherited from AbstractViewContent) | |
InitiallyFocusedControl | (Inherited from AbstractViewContent) | |
IsActive |
Gets or sets a value indicating whether the view of this instance is active in the UI.
(Inherited from AbstractViewContent) | |
IsContentVisible |
Gets a value indicating whether the content of this document window is visible (it is if either IsActive or IsSelected is visible.
(Inherited from AbstractViewContent) | |
IsDirty | (Inherited from AbstractViewContent) | |
IsDisposed | (Inherited from AbstractViewContent) | |
IsDisposeInProgress | (Inherited from AbstractViewContent) | |
IsReadOnly |
Gets if the view content is read-only (can be saved only when choosing another file name).
(Inherited from AbstractViewContent) | |
IsSelected |
Gets or sets a value indicating whether the view of this instance is selected (e.g. inside its container).
(Inherited from AbstractViewContent) | |
IsViewOnly |
Gets if the view content is view-only (cannot be saved at all).
(Inherited from AbstractViewContent) | |
IsVisible |
Gets or sets the visibility of the document.
If false, the document tab header is not visible (but the document itself maybe visible !).
If true, the document tab header is visible (if it fits in the bar),
and the document is visible, if it is selected, too.
(Inherited from AbstractViewContent) | |
LastFullyVisibleColumn | ||
LastFullyVisiblePropertyColumn | ||
LastFullyVisibleTableRow | ||
LastVisibleTableRow | ||
ModelObject | (Overrides AbstractViewContentModelObject) | |
RemainingEnabledPropertyColumns | Returns the remaining number of property columns that could be shown below the current scroll position. | |
SelectedDataColumns | Returns the currently selected data columns | |
SelectedDataRows | Returns the currently selected data rows. | |
SelectedPropertyColumns | Returns the currently selected property columns. | |
SelectedPropertyRows | Returns the currently selected property rows if property cells are selected alone. If not selected alone, the SelectedColumn property is returned. | |
Services | (Inherited from AbstractViewContent) | |
TableAreaHeight | ||
TableAreaWidth | ||
Title |
Gets/Sets the title of the current tab page.
This value will be passed through the string parser before being displayed.
(Inherited from AbstractViewContent) | |
TotalEnabledPropertyColumns | Returns number of property columns that are enabled for been shown on the grid. | |
UseDocumentCopy | ||
VerticalPositionOfFirstVisibleDataRow | This returns the vertical position of the first visible data row.; | |
VerticalScrollPosition | The vertical scroll position is defined as following: If 0 (zero), the data row 0 is the first visible line (after the column header). If positive, the data row with the number of VertScrollPos is the first visible row. If negative, the property column with index PropertyColumnCount+VertScrollPos is the first visible line. | |
VertScrollMaximum | ||
ViewObject | (Overrides AbstractViewContentViewObject) | |
VisibleColumns | ||
VisiblePropertyColumns | ||
VisibleTableRows | ||
WorksheetLayout |
Name | Description | |
---|---|---|
AdjustXScrollBarMaximum | ||
AdjustXScrollBarViewPortSize | Adjusts the X scroll bar view port size (=size of the thumb). Should be called after the XScrollbarMaximum is adusted or when the width of the columns changed considerably. Here, we want to avoid that the thumb size changed when we scroll through the worksheet. Thus, we calculate a average value for the thumb size that is relation of the table area width and the total width of all data columns. | |
AdjustYScrollBarMaximum | ||
Apply | ||
BuildNavPoint | (Inherited from AbstractViewContent) | |
CanClose | (Inherited from AbstractViewContent) | |
ClearAllSelections | Clears all selections of columns, rows or property columns. | |
ClearIsDirty | (Inherited from AbstractViewContent) | |
Copy | ||
CreateResizingPositions | ||
Cut | ||
Delete | ||
Dispose | Releases all resources used by the WorksheetController (Overrides AbstractViewContentDispose) | |
EhPropertyDataChanged | ||
EhTable_Changed | ||
EhTableDataChanged | ||
EhTitleLocalizationChanged | (Inherited from AbstractViewContent) | |
EhView_HorzScrollBarScroll | ||
EhView_KeyDown | ||
EhView_TableAreaMouseClick | ||
EhView_TableAreaMouseDoubleClick | ||
EhView_TableAreaMouseDown | ||
EhView_TableAreaMouseMove | ||
EhView_TableAreaMouseUp | ||
EhView_TableAreaMouseWheel | Handles the mouse wheel event. | |
EhView_TableAreaSizeChanged | ||
EhView_VertScrollBarScroll | ||
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) | (Inherited from AbstractViewContent) | |
GetServiceT | (Inherited from AbstractViewContent) | |
GetType | Gets the Type of the current instance. (Inherited from Object) | |
InitializeDocument | ||
InternalInitializeWorksheetLayout | ||
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object) | |
NavigateCellEdit | NavigateCellEdit moves the cell edit control to the next cell | |
NavigatePropertyCellEdit | NavigatePropertyCellEdit moves the cell edit control to the next cell | |
NavigateTableCellEdit | NavigateTableCellEdit moves the cell edit control to the next cell | |
NotifyContentIdChanged |
Can be used to notify the view content that the ContentId maybe has changed.
(Inherited from AbstractViewContent) | |
OnClose | (Inherited from AbstractViewContent) | |
OnIsDirtyChanged | (Inherited from AbstractViewContent) | |
OnLeftClickDataCell | ||
OnLeftClickDataColumnHeader | ||
OnLeftClickDataRowHeader | ||
OnLeftClickOutsideAll | ||
OnLeftClickPropertyCell | ||
OnLeftClickPropertyColumnHeader | ||
OnLeftClickTableHeader | ||
OnPropertyChanged | (Inherited from AbstractViewContent) | |
OnRightClickDataCell | ||
OnRightClickDataColumnHeader | ||
OnRightClickDataRowHeader | ||
OnRightClickOutsideAll | ||
OnRightClickPropertyCell | ||
OnRightClickPropertyColumnHeader | ||
OnRightClickTableHeader | ||
Paste | ||
Revert | Try to revert changes to the model, i.e. restores the original state of the model. | |
SelectAll | ||
SetCachedNumberOfDataColumns | ||
SetCachedNumberOfDataRows | ||
SetCachedNumberOfPropertyColumns | ||
SetDirty | (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 | ||
ToString | Returns a string that represents the current object. (Inherited from Object) |
Name | Description | |
---|---|---|
_cellEdit_IsArmed | ||
_cellEdit_IsModified | ||
_columnWidthResizingPositions | List of x positions where the horizontal resizing cursor should be shown in order to resize the columns. | |
_columnWidthResizingPositionsFirstColumnIndex | Index of the first data column that was shown when the list of resizing positions was created. | |
_isActive | (Inherited from AbstractViewContent) | |
_isSelected | (Inherited from AbstractViewContent) | |
_isVisible | (Inherited from AbstractViewContent) | |
_lastSelectionType | Which selection was done last: selection (i) a data column, (ii) a data row, or (iii) a property column. | |
_numberOfPropertyCols | Cached number of property columns. | |
_numberOfTableCols | Cached number of table columns. | |
_numberOfTableRows | Cached number of table rows. | |
_selectedDataColumns | Holds the indizes to the selected data columns. | |
_selectedDataRows | Holds the indizes to the selected rows. | |
_selectedPropertyColumns | Holds the indizes to the selected property columns. | |
_selectedPropertyRows | Holds the indizes to the selected property rows (but only in case property cells are selected alone). | |
_table | Holds the data table cached from the layout. | |
_title | (Inherited from AbstractViewContent) | |
_titleToBeLocalized | (Inherited from AbstractViewContent) | |
_weakEventHandlerDataColumnChanged | ||
_weakEventHandlerForLayout_TunneledEvent | ||
_weakEventHandlerForTable_Changed | ||
_weakEventHandlerForTable_TunneledEvent | ||
_weakEventHandlerPropertyColumnChanged | ||
_worksheetLayout |