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 to this section

Represents a cell menu in a spreadsheet.

Declaration
public CellMenu()

Properties

ApplyLink to this section

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 to this section

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 to this section

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 to this section

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 to this section

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 to this section

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 to this section

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 to this section

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 to this section

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 to this section

The parent spreadsheet component.

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

Top10FilterLink to this section

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 to this section

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 to this section

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

SetParametersAsyncLink to this section

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 🗙