CellBase Class

Abstract base class for spreadsheet cells view components.

Inheritance

Implements

IComponent

IHandleEvent

IHandleAfterRender

Inherited Members

ComponentBase.BuildRenderTree

ComponentBase.OnInitialized

ComponentBase.OnInitializedAsync

ComponentBase.OnParametersSet

ComponentBase.OnParametersSetAsync

ComponentBase.StateHasChanged

ComponentBase.ShouldRender

ComponentBase.OnAfterRender

ComponentBase.OnAfterRenderAsync

ComponentBase.InvokeAsync

ComponentBase.DispatchExceptionAsync

ComponentBase.SetParametersAsync

ComponentBase.RendererInfo

ComponentBase.Assets

ComponentBase.AssignedRenderMode

Namespace: Radzen.Blazor.Spreadsheet

Assembly: Radzen.Blazor.dll

Syntax

public abstract class CellBase : ComponentBase, IComponent, IHandleEvent, IHandleAfterRender

Constructors

CellBaselink

Abstract base class for spreadsheet cells view components.

Declaration
protected CellBase()

Properties

FrozenStatelink

Gets or sets the cell frozen state.

Declaration
public Spreadsheet.FrozenState FrozenState { get; set; }
Property Value
Type Description
Spreadsheet.FrozenStateGets or sets the cell frozen state.

Rectlink

Gets or sets the cell rectangle in pixels.

Declaration
public Spreadsheet.PixelRectangle Rect { get; set; }
Property Value
Type Description
Spreadsheet.PixelRectangleGets or sets the cell rectangle in pixels.

Stylelink

Returns the style of the cell.

Declaration
protected string Style { get; }
Property Value
Type Description
stringReturns the style of the cell.

Methods

AppendStylelink

Appends the style properties to the StringBuilder.

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

GetStylelink

Constructs the style string for the cell.

Declaration
protected virtual string GetStyle()
Returns
Type Description
string
An error has occurred. This app may no longer respond until reloaded. Reload 🗙