[]
        
(Showing Draft Content)

C1.Blazor.Grid.GridLinkedCellFactory

GridLinkedCellFactory Class

This cell factory can be used to add features over an existing cell factory, for scenarios where inheriting is not allowed.

Namespace: C1.Blazor.Grid
Assembly: C1.Blazor.Grid.dll
Syntax
public class GridLinkedCellFactory : GridCellFactory
Public Class GridLinkedCellFactory
    Inherits GridCellFactory

Constructors

Name Description
GridLinkedCellFactory()

Properties

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.

RowHeaderColumnsCount

Gets the number of columns belonging to the row headers area.

SelectionMode

Methods

Name Description
AllowEditing(GridCellRange)

Returns true when the cell in the specified range can be edited.

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 from to the index to.

DropRowAsync(GridRowColType, int, int)

Drops the row from the original index from to the index to.

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.

GetColumnInfo(GridRowColType, int)

Gets the dimensions for the specified column.

GetMergedRange(GridCellType, GridCellRange)

Gets the cells range after merging with neighbor cells.

GetRowInfo(GridRowColType, int)

Gets the dimensions for the specified row.

OnEditEnded(GridCellRange, ComponentBase, bool)

Called when the editing of a cell ended.

OnKeyDown(KeyboardEventArgs)

Called when the a keyboard key is pressed.

PrepareCellStyle(GridCellType, GridCellRange, C1Style, C1Thickness)

Prepares the specified style for displaying the cell in the specified range.

SaveDesiredCellSize(GridCellType, GridCellRange)

Returns whether the desired size for a specific cell is taken into account.

SetColumnWidth(GridRowColType, int, double)

Sets the width of the specified column.

SetRowHeight(GridRowColType, int, double)

Sets the height of the row.