[]
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 |
---|---|
AllowCustomCells | When set to true the methods GetCellKind(GridCellType, GridCellRange), CreateCell(GridCellType, GridCellRange, object), BindCell(GridCellType, GridCellRange, GridCellView) and UnbindCell(GridCellType, GridCellRange, GridCellView) will be called allowing customized cells, inheriting from GridCellView. |
AllowCustomToggleButton | Gets or sets whether the toggle-button for group rows are handled by this cell-factory. |
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. |
IsMouseOverEnabled | Gets whether the mouse-over state is reflected in the cells. |
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 |
---|---|
AllowCustomCell(GridCellType, GridCellRange) | Gets whether custom cells are allowed for the specified range. |
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, GridCellView) | Applies the selection brushes. |
ApplySelectionState(GridControlRange, GridControlCellView) | Applies the selection brushes. |
BindCell(GridCellType, GridCellRange, GridCellView) | Binds the the cell. |
BindCell(GridControlRange, GridControlCellView) | Binds the cell. |
BindCellContent(GridCellType, GridCellRange, FrameworkElement) | Binds the content of the cell. |
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. |
CreateCell(GridCellType, GridCellRange, object) | Creates the cell. |
CreateCell(GridControlRange, object) | Creates the content of the cell. |
CreateCellContent(GridCellType, GridCellRange, object) | Creates the content of the cell. |
CreateCellEditor(GridCellRange) | Creates the cell editor. |
CreateCellEditor(GridControlRange) | Creates the cell editor. |
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 |
GetCellContentType(GridCellType, GridCellRange) | Gets a key that defines the type of cell content. |
GetCellKind(GridCellType, GridCellRange) | Gets a key that defines the kind of cell content. |
GetCellKind(GridControlRange) | Gets a key that defines the type of cell content. |
GetCellText(GridCellType, GridCellRange) | Gets the text representing the content of a cell. |
GetCellText(GridControlRange) | Gets the text representing the content of a 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. |
GetFrozenRightColumns() | Gets the number of frozen columns at the right. |
GetFrozenRows() | Gets the number of frozen rows. |
GetHoverRange(int, int) | Gets range of cells from the coordinates of the hovered cell. |
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. |
IsRightFreezingSeparatorVisible() | Gets whether the right 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, FrameworkElement, bool) | Called when the editing of a cell ended. |
OnEditEnded(GridControlRange, FrameworkElement, 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. |
OnScrollTipShown(ScrollToolTipEventArgs) | Called when the a scroll-tip is about to be shown. |
PrepareCell(GridCellType, GridCellRange, GridCellView, Thickness) | Prepares the cell to be shown. |
PrepareCell(GridControlRange, GridControlCellView, Thickness) | Prepares the cell to be shown. |
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. |
UnbindCell(GridCellType, GridCellRange, GridCellView) | Unbinds the cell. |
UnbindCell(GridControlRange, GridControlCellView) | Unbinds the cell. |
UnbindCellContent(GridCellType, GridCellRange, FrameworkElement) | Unbinds the content of the cell. |