[]
Implements the functionality to create grid cells dynamically.
public class GridCellFactory : GridControlAdapter
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. |
ColumnsCount | Gets the total number of columns. |
Grid | Gets the associated grid. |
IsCellSelection | Gets whether the selection is composed by cells. |
IsColumnSelection | Gets whether the selection is composed by all the cells of the columns. |
IsMultiRangeSelection | Gets whether the selection can be composed by non-contiguous ranges of cells. |
IsMultipleSelection | Gets whether the selection can be a range of cells. |
IsRowSelection | Gets whether the selection is composed by all the cells of the rows. |
IsSelectionEnabled | Gets whether there is any selection possible in the grid. |
NavigableRange | Gets the range of cells where a user can navigate with the keyboard as well as edit and select cells |
Parent | Gets the parent cell-factory. |
RowHeaderColumnsCount | Gets the number of columns belonging to the row headers area. |
RowsCount | Gets the total number of rows. |
SelectionMode |
Name | Description |
---|---|
AllowEditing(GridCellRange) | Returns true when the cell in the specified range can be edited. |
AllowEditing(GridControlRange) | Returns true when the cell in the specified range can be edited. |
ApplySelectionState(GridCellType, GridCellRange, C1Style) | Applies the selection brushes. |
ApplySelectionState(GridControlRange, C1Style) | Applies the selection brushes. |
CanDragColumn(GridRowColType, int) | Determines whether the column can be drag. |
CanDragColumn(int, int) | Determines whether the column can be dragged. |
CanDragRow(GridRowColType, int) | Determines whether the row can be drag. |
CanDragRow(int, int) | Determines whether the row can be dragged. |
CanDropColumn(GridRowColType, int, int) | Determines whether a column can be dragged to the specified position. |
CanDropColumn(int, int) | Determines whether the |
CanDropRow(GridRowColType, int, int) | Determines whether a row can be dragged to the specified position. |
CanDropRow(int, int) | Determines whether the |
CanSetColumnWidth(GridRowColType, int) | Determines whether the with of a column can be set. |
CanSetColumnWidth(int, int) | Determines whether the width of a column can be set. |
CanSetRowHeight(GridRowColType, int) | Determines whether the height of the row can be set. |
CanSetRowHeight(int, int) | Determines whether the height of the row can be set. |
DropColumnAsync(GridRowColType, int, int) | Drops the column from the original index |
DropColumnAsync(int, int) | Drops the column from the original index |
DropRowAsync(GridRowColType, int, int) | Drops the row from the original index |
DropRowAsync(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. |
GetCellContentRenderFragment(GridControlRange) | Returns the fragment to show inside the cell at the specified |
GetCellCssClasses(GridCellType, GridCellRange, C1Thickness) | Specify the list of css classes for the cell. |
GetCellCssClasses(GridControlRange, C1Thickness) | Gets the CSS classes that will be applied to the cell. |
GetCellEditorFragment(GridCellRange, Action<ComponentBase>) | Creates the cell editor. |
GetCellEditorFragment(GridControlRange, Action<ComponentBase>) | Creates the cell editor. |
GetCellText(GridCellType, GridCellRange) | Gets the text representing the content of a cell. |
GetCellText(GridControlRange) | Gets the text representing the content of a cell. |
GetCellTitle(GridCellType, GridCellRange) | Gets the title attribute that will be set in the cell div. |
GetCellTitle(GridControlRange) | Gets the title attribute that will be applied to the cell. |
GetColumnInfo(GridRowColType, int) | Gets the dimensions for the specified column. |
GetColumnInfo(int) | Gets the dimensions for the specified column. |
GetDefaultColumn() | Gets the default column dimensions. |
GetDefaultRow() | Gets the default row dimensions. |
GetFrozenBottomRows() | Gets the number of frozen rows at the bottom. |
GetFrozenColumns() | Gets the number of frozen columns. |
GetFrozenRows() | Gets the number of frozen rows. |
GetMergedRange(GridControlRange) | Gets a GridControlRange that specifies the merged extent of a cell. |
GetRowInfo(GridRowColType, int) | Gets the dimensions for the specified row. |
GetRowInfo(int) | Gets the dimensions for the specified row. |
GetSelectedTimes(GridControlRange) | Gets the number of times a cell is selected. |
GetSelectionRange(GridControlRange) | Gets the effective selection range from another range. |
IsBottomFreezingSeparatorVisible() | Gets whether the bottom freezing separator is visible. |
IsLeftFreezingSeparatorVisible() | Gets whether the left freezing separator is visible. |
IsTopFreezingSeparatorVisible() | Gets whether the top freezing separator is visible. |
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. |
OnEditEnded(GridControlRange, ComponentBase, bool) | Called when the editing of a cell ended. |
OnResizedColumn(GridCellRangeEventArgs) | Called after a column is resized. |
OnResizedColumn(GridControlRangeEventArgs) | Called after a column is resized. |
OnResizedRow(GridCellRangeEventArgs) | Called after a row is resized. |
OnResizedRow(GridControlRangeEventArgs) | Called after a row is resized. |
OnResizingColumn(GridCellRangeEventArgs) | Called before a column is resized. |
OnResizingColumn(GridControlRangeEventArgs) | Called before a column is resized. |
OnResizingRow(GridCellRangeEventArgs) | Called before a row is resized. |
OnResizingRow(GridControlRangeEventArgs) | Called before a row is resized. |
OnRowsAndColumnsReset() | Notifies the cell-factory there was a reset change in the model rows and columns. |
OnRowsAndColumnsReseting() | Notifies the cell-factory there was a reset change in the model rows and columns. |
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 |
PrepareCellStyle(GridControlRange, C1Style, C1Thickness) | Prepares the specified |
RefreshSelectedRanges(IReadOnlyList<GridControlRange>) | Refreshes the grid according to the selected ranges. |
SaveDesiredCellSize(GridCellType, GridCellRange) | Returns whether the desired size for a specific cell is taken into account. |
SaveDesiredCellSize(GridControlRange) | Returns whether the desired size for a specific cell is taken into account. |
SetCellValue(GridCellType, GridCellRange, object) | Sets the value of a specified cell. |
SetCellValue(GridControlRange, object) | Sets the value of a specified cell. |
SetColumnWidth(GridRowColType, int, double) | Sets the width of the specified column. |
SetColumnWidth(int, double) | Sets the width of the specified column. |
SetRowHeight(GridRowColType, int, double) | Sets the height of the row. |
SetRowHeight(int, double) | Sets the height of the row. |