[]
        
(Showing Draft Content)

C1.Blazor.Grid.GridWrapCellFactory

GridWrapCellFactory 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 GridWrapCellFactory : GridCellFactory

Constructors

Name Description
GridWrapCellFactory(GridCellFactory)

Initializes a new instance of the GridWrapCellFactory class.

Properties

Name Description
InnerFactory

Gets the inner cell factory.

Methods

Name Description
AllowEditing(GridCellRange)

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

Contains(GridControlAdapter)

Returns true if the specified cellFactory is the same instance as this or if it is one of the nested cell factories.

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, Action<ComponentBase>)

Creates the cell editor.

OnEditEnded(GridCellRange, ComponentBase, bool)

Called when the editing of a cell ended.

PrepareCellStyle(GridCellType, GridCellRange, C1Style, C1Thickness)

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