[]
Implements the functionality to create grid cells dynamically.
public class GridCellFactory
Public Class GridCellFactory
| Name | Description |
|---|---|
| GridCellFactory() | Initializes a new instance of the GridCellFactory class. |
| Name | Description |
|---|---|
| CellsColumnsCount | Gets the number of columns belonging to the cells area. |
| CellsRowsCount | Gets the number of rows belonging to the cells area. |
| ColumnFooterRowsCount | Gets the number of rows belonging to the column footers area. |
| ColumnHeaderRowsCount | Gets the number of rows belonging to the column headers area. |
| Grid | Gets the associated grid. |
| IsCellSelection | |
| IsColumnSelection | |
| IsMultiRangeSelection | |
| IsMultipleSelection | |
| IsRowSelection | |
| IsSelectionEnabled | |
| RowHeaderColumnsCount | Gets the number of columns belonging to the row headers area. |
| SelectionMode |
| Name | Description |
|---|---|
| AllowEditing(GridCellRange) | Returns true when the cell in the specified range can be edited. |
| ApplySelectionState(GridCellType, GridCellRange, C1Style) | Applies the selection brushes. |
| CanDragColumn(GridRowColType, int, GridRowColType, int) | Determines whether the column can be drag. |
| CanDragRow(GridRowColType, int, GridRowColType, int) | Determines whether the row can be drag. |
| CanDropColumn(GridRowColType, int, int) | Determines whether a column can be dragged to the specified position. |
| CanDropRow(GridRowColType, int, int) | Determines whether a row can be dragged to the specified position. |
| CanSetColumnWidth(GridRowColType, int) | Determines whether the with of a column can be set. |
| CanSetRowHeight(GridRowColType, int) | Determines whether the height of the row can be set. |
| DropColumnAsync(GridRowColType, int, int) | Drops the column from the original index |
| DropRowAsync(GridRowColType, int, int) | Drops the row from the original index |
| GetCellContentRenderFragment(GridCellType, GridCellRange) | Gets the render fragment that will be set inside the cell's div. |
| GetCellCssClasses(GridCellType, GridCellRange, C1Thickness) | Specify the list of css classes for the cell. |
| GetCellEditorFragment(GridCellRange, GridControlEditingContext) | Creates the cell editor. |
| GetCellText(GridCellType, GridCellRange) | Gets the text representing the content of a cell. |
| GetCellTitle(GridCellType, GridCellRange) | Gets the title attribute that will be set in the cell div. |
| GetColumnInfo(GridRowColType, int) | Gets the dimensions for the specified column. |
| GetDefaultColumn() | Gets the default column dimensions. |
| GetDefaultRow() | Gets the default row dimensions. |
| GetFrozenBottomRows() | |
| GetFrozenColumns() | |
| GetFrozenRightColumns() | |
| GetFrozenRows() | |
| GetMergedRange(GridCellType, GridCellRange) | Gets the cells range after merging with neighbor cells. |
| GetRowInfo(GridRowColType, int) | Gets the dimensions for the specified row. |
| GetSelectedTimes(GridControlRange) | |
| GetSelectionRange(GridControlRange) | |
| IsBottomFreezingSeparatorVisible() | |
| IsLeftFreezingSeparatorVisible() | |
| IsRightFreezingSeparatorVisible() | |
| IsTopFreezingSeparatorVisible() | |
| OnCellDoubleTapped(GridControlTapEventArgs) | Called when a cell was double-tapped. |
| OnCellLongPressed(GridControlTapEventArgs) | Called when a cell was long-tapped(Holding). |
| OnCellTapped(GridControlTapEventArgs) | Called when a cell was tapped. |
| OnColumnsChanged(GridCellFactoryNotifyChange) | Notifies the cell-factory there was a change in the model columns. |
| OnColumnsChanging(GridCellFactoryNotifyChange) | Notifies the cell-factory there will be changed in the model columns. |
| OnEditEnded(GridCellRange, ComponentBase, bool) | Called when the editing of a cell ended. |
| OnKeyDown(KeyboardEventArgs) | Called when the a keyboard key is pressed. |
| OnResizedColumn(GridCellRangeEventArgs) | Called after a column is resized. |
| OnResizedRow(GridCellRangeEventArgs) | Called after a row is resized. |
| OnResizingColumn(GridCellRangeEventArgs) | Called before a column is resized. |
| OnResizingRow(GridCellRangeEventArgs) | Called before a row is resized. |
| OnRowsChanged(GridCellFactoryNotifyChange) | Notifies the cell-factory there was a change in the model rows. |
| OnRowsChanging(GridCellFactoryNotifyChange) | Notifies the cell-factory there will be changed in the model rows. |
| PrepareCellStyle(GridCellType, GridCellRange, C1Style, C1Thickness) | Prepares the specified |
| RefreshSelectedRanges(IReadOnlyList<GridControlRange>) | |
| SaveDesiredCellSize(GridCellType, GridCellRange) | Returns whether the desired size for a specific cell is taken into account. |
| SetCellValue(GridCellType, GridCellRange, object) | Sets the value of a specified cell. |
| SetColumnWidth(GridRowColType, int, double) | Sets the width of the specified column. |
| SetRowHeight(GridRowColType, int, double) | Sets the height of the row. |