[]
        
(Showing Draft Content)

C1.Blazor.Grid.GridRow

GridRow Class

Represent a row.

Namespace: C1.Blazor.Grid
Assembly: C1.Blazor.Grid.dll
Syntax
public class GridRow : GridRowCol, IComponent, IHandleAfterRender, INotifyPropertyChanging, IHandleEvent, INotifyPropertyChanged

Constructors

Name Description
GridRow()

Initializes a new instance of the GridRow class.

GridRow(IDataCollection<object>, int)

Initializes a new instance of the GridRow class.

GridRow(object)

Initializes a new instance of the GridRow class.

Properties

Name Description
ActualHeight

Gets the actual height of the row in pixels.

ActualVisible

Gets a value indicating whether the row is visible. The row could be collapsed either because the IsVisible was set to false or the Parent is collapsed.

AllowCustomCells

When set to true the methods GetCellKind(GridCellType, GridColumn), CreateCell(GridCellType, object, GridColumn), BindCell(GridCellView, GridCellType, GridColumn) and UnbindCell(GridCellView, GridCellType, GridColumn) will be called allowing customized cells, inheriting from GridCellView.

AllowDragging

Gets or sets a value indicating whether this row can be dragged.

AllowMerging

Gets or sets a value that indicates whether cells in this row can be merged.

AllowResizing

Gets or sets a value indicating whether this row can be resized.

AreChildrenBelow

Gets whether the children are below this row.

Background

Gets or sets the C1Color used to paint the background of cells in this row.

CellFactory

Gets the cell-factory.

Children

Gets the children of this row.

DataCollection

Gets the collection to which the bound item belongs to.

DataIndex

Gets the index of the data inside the collection of items.

DataItem

Gets the data item.

Foreground

Gets or sets the C1Color used to paint the foreground of cells in this row.

Grid

Gets the grid containing this row.

HasErrors

Gets whether a row has errors

HeaderBackground

Gets or sets the C1Color used to paint the background of header cells in this row.

HeaderForeground

Gets or sets the C1Color used to paint the foreground of header cells in this row.

Height

Gets or sets the height of the row.

IsReadOnly

Gets or sets a value indicating whether this row is read only.

IsVisible

Gets or sets a value indicating whether the row is visible and not collapsed.

Level

Gets or sets the nesting level inside a group. This is zero if no grouping is used.

MaxHeight

Gets or sets the maximum height of the row.

MinHeight

Gets or sets the minimum height of the row.

Parent

Gets the parent group row.

Rows

Gets the collection of rows containing this row.

WordWrap

Gets or sets a value indicating whether cells in the row wrap their content.

Methods

Name Description
AllowEditing(GridColumn)

Returns true when the cell in the intersection of the specified column and this row can be edited.

Dispose()
GetCellContentRenderFragment(GridCellType, GridColumn)

This method is called to provide the content of a cell belonging to this row.

GetCellCssClasses(GridCellType, GridColumn, C1Thickness)

Gets the CSS classes that will be applied to the cell.

GetCellDisplayValue<T>(GridCellType, GridColumn)

Gets the value to display corresponding to the cell in the intersection of the specified column and this row.

GetCellEditorFragment(GridColumn, Action<ComponentBase>)

Creates the cell editor fragment.

GetCellText(GridCellType, GridColumn)

Gets the text corresponding to the cell in the intersection of the specified column and this row.

GetCellValue(GridCellType, GridColumn)

Gets the value corresponding to the cell in the intersection of the specified column and this row.

GetColumnErrors(GridColumn)

Gets the errors for the specified column.

GetEditorValue(GridColumn, ComponentBase)

Gets the editor value.

GetErrors()

Gets the errors in this row.

GetMergedRange(GridCellType, GridCellRange, GridColumn)

Gets a GridCellRange that specifies the merged extent of a cell.

HasColumnErrors(GridColumn)

Gets whether the row has errors in the specified column.

IsDataItemSet()

Gets whether the data-item was already set.

OnAttached()

Called when the row is attached to a collection of rows.

OnDetached()

Called when the row is detached from a collection of rows.

OnInitialized()
PrepareCellStyle(GridCellType, GridColumn, C1Style, C1Thickness)

Gets the style that will be applied to the cell.

Refresh()

Refresh all the cells in the row.

Refresh(GridRowColType, int)

Refresh the cells in the row.

SetCellValue(GridCellType, GridColumn, object)

Sets the value corresponding to the cell in the intersection of the specified column and this row.

SetDataItem(object)

Sets the data-item owned by the row.

ToString()