SalTableWindowBase
PPJ.Runtime.Windows.SalTableWindowBase
Namespace: PPJ.Runtime.Windows
Assembly: PPJ.Runtime.49 (4.9.0.0)
Table Window Implementation
Properties
ActiveColumn
SalTableColumn: Returns the currently focused column.
AllowDraggingLockedColumns
Boolean: Enables/Disables dragging locked columns. (Default: False
)
AllowSorting
Boolean: Enables/Disables automatic sorting on table columns. (Default: False
)
AutoScroll
Boolean: AutoScroll (Default: False
)
AutoScrollMargin
Size: AutoScrollMargin
AutoScrollMinSize
Size: AutoScrollMinSize
BackColor
Color: 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.
BackgroundImage
Image: Background Image (Default: null
)
ColHeader
Row: Returns the row used as the col header.
Columns
SalTableColumnCollection: Returns the collection of columns.
ContextRow
Int32: Returns/Sets the context row.
CurrentGrid
C1FlexGrid: Returns the current grid control.
CurrentRow
Int32: Returns the current row index in the current grid control.
DefaultRowHeight
Int32: Returns/Sets the default height of new rows.
ExtendLastColumn
Boolean: Enables/Disables the extension of the last column to fill the grid. (Default: True
)
FocusRow
Int32: Returns/Sets the focus row.
FocusRowStyle
FocusRowStyle: Enables/Disables the focus frame around the current row. (Default: Thick
)
IsEmbedded
Boolean: Returns true if the SalTableWindow control is embedded and the columns are owned/parented by the container.
MainGrid
C1FlexGrid: Returns the main grid control.
Redraw
Boolean: Enables/Disables redrawing for the control.
RowHeader
Column: Returns the column used as the row header.
RowHeaderFlags
Int32: Returns/Sets row header flags. TBL_RowHdr_*
RowHeaderImages
ArrayList: 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
String: Returns/Sets the row header title.
RowHeaderTitleAlign
HorizontalAlignment: Indicates how the row header title should be aligned.
RowHeaderWidth
Int32: Returns/Sets the row header width.
Rows
SalTableRowCollection: Returns the collection of rows in the main grid.
ShowCellLabels
Boolean: Gets or sets whether the grid should display labels over cells whose contents are partially hidden. (Default: False
)
ShowCursor
Boolean: Enables/Disables the arrow icon on the current row. (Default: False
)
ShowFocusRow
Boolean: Enables/Disables the focus frame around the current row. (Default: True
)
SplitGrid
C1FlexGrid: Returns the split grid control.
SplitRows
SalTableRowCollection: Returns the collection of rows in the split grid.
Splitter
Splitter: Returns the splitter control between the main grid and the split grid.
TableFlags
Int32: Returns/Sets table flags. TBL_Flag_*
Trimming
StringTrimming: Defines how to trim the content that doesn't fit the width of the cell. (Default: None
)
UseVisualStyles
Boolean: Enables/Disabled drawing of columns and rows headers using the current visual style theme renderer. (Default: False
)
Methods
GetCellStyle(column, row)
Returns the CellStyle object for the specified cell.
Parameter | Type | Description |
---|---|---|
column | ||
row |
Returns: CellStyle.
GetCellStyleNew(column, row)
Returns or creates the CellStyle object for the specified cell. The CellStyle is guaranteed not to be one of the cached CellStyle instances.
Parameter | Type | Description |
---|---|---|
column | ||
row |
Returns: CellStyle.
GetColHeaderStyle(column)
Returns the CellStyle object for the fixed cells in the specified column.
Parameter | Type | Description |
---|---|---|
column |
Returns: CellStyle.
GetColHeaderStyleNew(column)
Returns or creates the CellStyle object for the fixed cells in the specified column.
Parameter | Type | Description |
---|---|---|
column |
Returns: CellStyle.
GetColStyle(column)
Returns the CellStyle object for the specified column.
Parameter | Type | Description |
---|---|---|
column |
Returns: CellStyle.
GetColStyleNew(column)
Returns or creates the CellStyle object for the specified column.
Parameter | Type | Description |
---|---|---|
column |
Returns: CellStyle.
GetRowHeaderStyle(row)
Returns the CellStyle for the fixed cells for the specified row.
Parameter | Type | Description |
---|---|---|
row | Context row |
Returns: CellStyle.
GetRowHeaderStyleNew(row)
Returns or creates the CellStyle for the fixed cells for the specified row.
Parameter | Type | Description |
---|---|---|
row | Context row |
Returns: CellStyle.
GetRowStyle(row)
Returns the CellStyle object for the specified row.
Parameter | Type | Description |
---|---|---|
row | Context row |
Returns: CellStyle.
GetRowStyleNew(row)
Returns or creates the CellStyle object for the specified row.
Parameter | Type | Description |
---|---|---|
row | Context row |
Returns: CellStyle.
TranslateRowContext(rowNum, rowIndex, grid)
Parameter | Type | Description |
---|---|---|
rowNum | ||
rowIndex | ||
grid |
Returns: Boolean.
Inherited By
Name | Description |
---|---|
Table Window Control | |
Child table window with tool tip support |
Last updated