CellMenu Class

Represents a cell menu in a spreadsheet.

Inheritance

Object

ComponentBase

Spreadsheet.CellMenu

Implements

IComponent

IHandleEvent

IHandleAfterRender

Inherited Members

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 CellMenu : ComponentBase, IComponent, IHandleEvent, IHandleAfterRender

Constructors

CellMenulink

Represents a cell menu in a spreadsheet.

Declaration
public CellMenu()

Properties

Applylink

Invoked the user clicks the apply button in the cell menu.

Declaration
public EventCallback<Documents.Spreadsheet.SheetFilter> Apply { get; set; }
Property Value
Type Description
EventCallback<Documents.Spreadsheet.SheetFilter>Invoked the user clicks the apply button in the cell menu.

Cancellink

Invoked the user clicks the cancel button in the cell menu.

Declaration
public EventCallback Cancel { get; set; }
Property Value
Type Description
EventCallbackInvoked the user clicks the cancel button in the cell menu.

Clearlink

Invoked when the user clicks the clear filter option in the cell menu.

Declaration
public EventCallback Clear { get; set; }
Property Value
Type Description
EventCallbackInvoked when the user clicks the clear filter option in the cell menu.

Columnlink

Represents the column index of the cell menu.

Declaration
public int Column { get; set; }
Property Value
Type Description
intRepresents the column index of the cell menu.

CustomFilterlink

Invoked when the user clicks the custom filter option in the cell menu.

Declaration
public EventCallback CustomFilter { get; set; }
Property Value
Type Description
EventCallbackInvoked when the user clicks the custom filter option in the cell menu.

DynamicFilterlink

Invoked when the user clicks one of the dynamic filter shortcut items.

Declaration
public EventCallback<Documents.Spreadsheet.DynamicFilterType> DynamicFilter { get; set; }
Property Value
Type Description
EventCallback<Documents.Spreadsheet.DynamicFilterType>Invoked when the user clicks one of the dynamic filter shortcut items.

Rowlink

Represents the row index of the cell menu.

Declaration
public int Row { get; set; }
Property Value
Type Description
intRepresents the row index of the cell menu.

SortAscendinglink

Invoked when the user clicks the sort ascending option in the cell menu.

Declaration
public EventCallback SortAscending { get; set; }
Property Value
Type Description
EventCallbackInvoked when the user clicks the sort ascending option in the cell menu.

SortDescendinglink

Invoked when the user clicks the sort descending option in the cell menu.

Declaration
public EventCallback SortDescending { get; set; }
Property Value
Type Description
EventCallbackInvoked when the user clicks the sort descending option in the cell menu.

Spreadsheetlink

The parent spreadsheet component.

Declaration
public ISpreadsheet Spreadsheet { get; set; }
Property Value
Type Description
ISpreadsheetThe parent spreadsheet component.

Top10Filterlink

Invoked when the user clicks "Top 10..." in the filter dropdown.

Declaration
public EventCallback Top10Filter { get; set; }
Property Value
Type Description
EventCallbackInvoked when the user clicks "Top 10..." in the filter dropdown.

Worksheetlink

Represents the sheet containing the cell menu.

Declaration
public Documents.Spreadsheet.Worksheet Worksheet { get; set; }
Property Value
Type Description
Documents.Spreadsheet.WorksheetRepresents the sheet containing the cell menu.

Methods

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 🗙