CellView Class

Renders a cell in a spreadsheet.

Inheritance

Object

ComponentBase

Spreadsheet.CellBase

Spreadsheet.CellView

Implements

IComponent

IHandleEvent

IHandleAfterRender

Inherited Members

Spreadsheet.CellBase.GetStyle

Spreadsheet.CellBase.Rect

Spreadsheet.CellBase.FrozenState

Spreadsheet.CellBase.Style

ComponentBase.OnInitialized

ComponentBase.OnInitializedAsync

ComponentBase.OnParametersSet

ComponentBase.OnParametersSetAsync

ComponentBase.StateHasChanged

ComponentBase.ShouldRender

ComponentBase.OnAfterRender

ComponentBase.OnAfterRenderAsync

ComponentBase.InvokeAsync

ComponentBase.DispatchExceptionAsync

ComponentBase.RendererInfo

ComponentBase.Assets

ComponentBase.AssignedRenderMode

Namespace: Radzen.Blazor.Spreadsheet

Assembly: Radzen.Blazor.dll

Syntax

public class CellView : Spreadsheet.CellBase, IComponent, IHandleEvent, IHandleAfterRender

Constructors

CellViewlink

Renders a cell in a spreadsheet.

Declaration
public CellView()

Properties

CellTypeslink

Gets or sets the registered custom cell types.

Declaration
public Dictionary<string, Spreadsheet.SpreadsheetCellType> CellTypes { get; set; }
Property Value
Type Description
Dictionary<string, Spreadsheet.SpreadsheetCellType>Gets or sets the registered custom cell types.

Columnlink

Gets or sets the column index of the cell.

Declaration
public int Column { get; set; }
Property Value
Type Description
intGets or sets the column index of the cell.

Rowlink

Gets or sets the row index of the cell.

Declaration
public int Row { get; set; }
Property Value
Type Description
intGets or sets the row index of the cell.

Togglelink

Event callback that is invoked when the toggle button is clicked.

Declaration
public EventCallback<Spreadsheet.CellMenuToggleEventArgs> Toggle { get; set; }
Property Value
Type Description
EventCallback<Spreadsheet.CellMenuToggleEventArgs>Event callback that is invoked when the toggle button is clicked.

Worksheetlink

Gets or sets the sheet that contains the cell.

Declaration
public Documents.Spreadsheet.Worksheet Worksheet { get; set; }
Property Value
Type Description
Documents.Spreadsheet.WorksheetGets or sets the sheet that contains the cell.

Methods

AppendStylelink

Declaration
protected override void AppendStyle(Text.StringBuilder sb)
Parameters
Type Name Description
Text.StringBuilder sb

BuildRenderTreelink

Declaration
protected override void BuildRenderTree(Rendering.RenderTreeBuilder __builder)
Parameters
Type Name Description
Rendering.RenderTreeBuilder __builder

SetParametersAsynclink

Declaration
public override Task SetParametersAsync(ParameterView parameters)
Parameters
Type Name Description
ParameterView parameters
Returns
Type Description
Task
An error has occurred. This app may no longer respond until reloaded. Reload 🗙