The SalTableWindowBase type exposes the following members.
Constructors
Name | Description | |
---|---|---|
SalTableWindowBase |
Constructs a SalTableWindow object.
|
Methods
Name | Description | |
---|---|---|
CanEditCell |
Returns true if the specific cell can be edited.
| |
CanMoveCell |
Returns true if the current cell can be changed.
| |
ClearSelectedColumns |
Unselects all selected columns.
| |
ClearSelectedRows |
Unselects all selected rows from both grids.
| |
ClearUnusedStyles |
Frees unused styles.
| |
CreateHandle | (Overrides Control..::..CreateHandle()()()().) | |
CreateSplitGrid |
Creates the splitter and split grid, syncronizes the columns
and attaches all the events necessary to manager the split grid.
| |
DestroySplitGrid |
Destroyes the split grid and the splitter control.
| |
Dispose | Releases the unmanaged resources used by the SalTableWindowBase and optionally releases the managed resources (Overrides ContainerControl..::..Dispose(Boolean).) | |
FinishEditing | ||
GetCellStyle |
Returns the CellStyle object for the specified cell.
| |
GetCellStyleNew |
Returns or creates the CellStyle object for the specified cell.
The CellStyle is guaranteed not to be one of the cached CellStyle instances.
| |
GetColHeaderStyle |
Returns the CellStyle object for the fixed cells in the specified column.
| |
GetColHeaderStyleNew |
Returns or creates the CellStyle object for the fixed cells in the specified column.
| |
GetCols |
Returns the column collection from the grid.
This is a safe call and throws an exception if the grid
has been disposed. Otherwide the grid throws a generic NullReferenceException.
| |
GetColStyle |
Returns the CellStyle object for the specified column.
| |
GetColStyleNew |
Returns or creates the CellStyle object for the specified column.
| |
GetContextRowFromCode |
Translates row codes (TBL_MinRow, TBL_MaxRow, etc) to a valid context row.
| |
GetRowHeaderStyle |
Returns the CellStyle for the fixed cells for the specified row.
| |
GetRowHeaderStyleNew |
Returns or creates the CellStyle for the fixed cells for the specified row.
| |
GetRows |
Returns the row collection from the grid.
This is a safe call and throws an exception if the grid
has been disposed. Otherwide the grid throws a generic NullReferenceException.
| |
GetRowStyle |
Returns the CellStyle object for the specified row.
| |
GetRowStyleNew |
Returns or creates the CellStyle object for the specified row.
| |
IsOnColumnMoveArea |
Returns true if the hittest result is on the column header area used to move the column.
| |
IsValidCol |
Returns true if the col is valid in the current grid.
| |
IsValidContextRow |
Returns true if the context row is a valid row.
| |
IsValidRow |
Returns true if the row is valid in the current grid.
| |
OnAfterDragColumn | ||
OnAfterEdit | ||
OnAfterResizeColumn | ||
OnAfterResizeRow | ||
OnAfterRowColChange | ||
OnAfterScroll | ||
OnBackColorChanged | (Overrides Control..::..OnBackColorChanged(EventArgs).) | |
OnBeforeMouseDown |
Process OnMouseDown before it reaches the inner grid to:
- suppress toggling of check boxes on mouse down
- select the entire row when clicking on row header
- select the column when clicking on the column header
- select multiple rows if control or shift is down
- prevent moving the focus cell if not validated
| |
OnBeforeRowColChange | ||
OnBeforeSort | ||
OnButtonClick | ||
OnCausesValidationChanged | (Overrides Control..::..OnCausesValidationChanged(EventArgs).) | |
OnChangeEdit | ||
OnChildEditWndProc |
Receives all windows messages from the cell editor control
before they are processed by the control's WndProc.
Returns true to indicate that the message has been handled
and the control's WndProc should not process it.
| |
OnChildGridWndProc |
Receives all the Windows messages from the inner flexgrid control
before they are processed by the grids WndProc.
All the messages are dispatched to the MessageActions handler.
This function returns true if the message is processed and should not
be dispatched to the default window procedure.
| |
OnComboCloseUp | ||
OnComboDropDown | ||
OnControlAdded | (Overrides Control..::..OnControlAdded(ControlEventArgs).) | |
OnControlRemoved | (Overrides Control..::..OnControlRemoved(ControlEventArgs).) | |
OnDrawCell | ||
OnEnabledChanged | (Overrides Control..::..OnEnabledChanged(EventArgs).) | |
OnEnter | ||
OnEnterCell | ||
OnFontChanged | (Overrides ContainerControl..::..OnFontChanged(EventArgs).) | |
OnForeColorChanged | (Overrides Control..::..OnForeColorChanged(EventArgs).) | |
OnGotFocus | ||
OnHandleCreated | (Overrides Control..::..OnHandleCreated(EventArgs).) | |
OnKeyDownEdit | ||
OnKeyPressEdit | ||
OnKeyUpEdit | ||
OnLeaveCell | ||
OnLeaveEdit | ||
OnLoad | (Overrides UserControl..::..OnLoad(EventArgs).) | |
OnLostFocus | ||
OnMouseDown | ||
OnMouseMove |
Show the column-move cursor when the mouse
moves close to the bottom edge of the column header
| |
OnMouseUp |
Toggle CheckBox columns on mouse up, like in CTD.
| |
OnParentEnabledChanged | (Overrides Control..::..OnParentEnabledChanged(EventArgs).) | |
OnResize(EventArgs) | (Overrides UserControl..::..OnResize(EventArgs).) | |
OnResize(C1FlexGrid, EventArgs) | ||
OnRowChangeValidate | ||
OnSetupEditor | ||
OnStartEdit | ||
OnValidateEdit | ||
ProcessCmdKey |
Process command keys.
(Overrides ContainerControl..::..ProcessCmdKey(Message%, Keys).) | |
SelectFullRow |
Highlights the entire row.
| |
SetContextRow |
Sets the table window's context row.
| |
SetFocusCellStyle |
Alters the look of the focused cell. When the cell is not editable
it is shown with a solid border.
| |
TestRowFlags |
Returns true if the row flags match the on|off masks.
| |
TestRowHeaderFlags |
Returns true if the specified row header flags are all set.
| |
TestTableFlags |
Returns true if the specified table flags are all set.
| |
TranslateRowContext |
Translates the context row number to a row index and grid control.
| |
UpdateRowsHeight |
Updates the height all the rows.
|
Properties
Name | Description | |
---|---|---|
ActionType |
Returns/Sets the current action that changed the cell selection.
| |
ActiveColumn |
Returns the currectly focused column.
| |
AllowSorting |
Enables/Disables automatic sorting on table columns.
| |
AnchorRow |
Returns the current anchor row used when dragging the mouse to
select multiple rows.
| |
AutoScroll | (Overrides ScrollableControl..::..AutoScroll.) | |
AutoScrollMargin | ||
AutoScrollMinSize | ||
BackColor |
Returns/Sets the back color for the control.
When the color is empty it defaults to Windows default color
instead of returning the parent's color.
(Overrides Control..::..BackColor.) | |
BackgroundImage | (Overrides Control..::..BackgroundImage.) | |
ColHeader |
Returns the row used as the col header.
| |
Columns |
Returns the collection of columns.
| |
ContextRow |
Returns/Sets the context row.
| |
CurrentGrid |
Returns the current grid control.
| |
CurrentRow |
Returns the current row index in the current grid control.
| |
DefaultRowHeight |
Returns/Sets the defult height of new rows.
| |
ExtendLastColumn |
Enables/Disables the extension of the last column to fill the grid.
| |
FocusRow |
Returns/Sets the focus row.
| |
Font |
Returns/Sets the font.
When the font is changed directly on the table window we must
scale the child columns.
(Overrides Control..::..Font.) | |
IsEmbedded |
Returns true if the SalTableWindow control is embedded
and the columns are owned/parented by the container.
| |
MainGrid |
Returns the main grid control.
| |
Redraw |
Enables/Disables redrawing for the control.
| |
RowHeader |
Returns the column used as the row header.
| |
RowHeaderFlags |
Returns/Sets row header flags. TBL_RowHdr_*
| |
RowHeaderImages |
Returns the collection of images used to show row flags on the row header.
The collection contains DictionaryEntry items where the key is the
flags to test and the value is the image object.
Row flags are tested in the order they are found in the list.
| |
RowHeaderTitle |
Returns/Sets the row header title.
| |
RowHeaderWidth |
Returns/Sets the row header width.
| |
Rows |
Returns the collection of rows in the main grid.
| |
ShowCellLabels |
Gets or sets whether the grid should display labels over cells whose contents are partially hidden.
| |
ShowCursor |
Enables/Disables the arrow icon on the current row.
| |
ShowFocusRow |
Enables/Disables the focus frame around the current row.
| |
SplitGrid |
Returns the split grid control.
| |
SplitRows |
Returns the collection of rows in the split grid.
| |
Splitter |
Returns the splitter control between the main grid and the split grid.
| |
TableFlags |
Returns/Sets table flags. TBL_Flag_*
| |
Trimming |
Defines how to trim the content that doesn't fit the width of the cell.
| |
UseVisualStyles |
Enables/Disabled drawing of columns and rows headers using the
current visual style theme renderer.
|