Represents a cell menu in a spreadsheet.
Object
ComponentBase
IComponent
IHandleEvent
IHandleAfterRender
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
public class CellMenu : ComponentBase, IComponent, IHandleEvent, IHandleAfterRenderInvoked the user clicks the apply button in the cell menu.
public EventCallback<Documents.Spreadsheet.SheetFilter> Apply { get; set; }
| Type | Description |
|---|---|
| EventCallback<Documents.Spreadsheet.SheetFilter> | Invoked the user clicks the apply button in the cell menu. |
Invoked the user clicks the cancel button in the cell menu.
public EventCallback Cancel { get; set; }
| Type | Description |
|---|---|
| EventCallback | Invoked the user clicks the cancel button in the cell menu. |
Invoked when the user clicks the clear filter option in the cell menu.
public EventCallback Clear { get; set; }
| Type | Description |
|---|---|
| EventCallback | Invoked when the user clicks the clear filter option in the cell menu. |
Represents the column index of the cell menu.
public int Column { get; set; }
| Type | Description |
|---|---|
| int | Represents the column index of the cell menu. |
Invoked when the user clicks the custom filter option in the cell menu.
public EventCallback CustomFilter { get; set; }
| Type | Description |
|---|---|
| EventCallback | Invoked when the user clicks the custom filter option in the cell menu. |
Invoked when the user clicks one of the dynamic filter shortcut items.
public EventCallback<Documents.Spreadsheet.DynamicFilterType> DynamicFilter { get; set; }
| Type | Description |
|---|---|
| EventCallback<Documents.Spreadsheet.DynamicFilterType> | Invoked when the user clicks one of the dynamic filter shortcut items. |
Represents the row index of the cell menu.
public int Row { get; set; }
| Type | Description |
|---|---|
| int | Represents the row index of the cell menu. |
Invoked when the user clicks the sort ascending option in the cell menu.
public EventCallback SortAscending { get; set; }
| Type | Description |
|---|---|
| EventCallback | Invoked when the user clicks the sort ascending option in the cell menu. |
Invoked when the user clicks the sort descending option in the cell menu.
public EventCallback SortDescending { get; set; }
| Type | Description |
|---|---|
| EventCallback | Invoked when the user clicks the sort descending option in the cell menu. |
The parent spreadsheet component.
public ISpreadsheet Spreadsheet { get; set; }
| Type | Description |
|---|---|
| ISpreadsheet | The parent spreadsheet component. |
Invoked when the user clicks "Top 10..." in the filter dropdown.
public EventCallback Top10Filter { get; set; }
| Type | Description |
|---|---|
| EventCallback | Invoked when the user clicks "Top 10..." in the filter dropdown. |
Represents the sheet containing the cell menu.
public Documents.Spreadsheet.Worksheet Worksheet { get; set; }
| Type | Description |
|---|---|
| Documents.Spreadsheet.Worksheet | Represents the sheet containing the cell menu. |
protected override void BuildRenderTree(Rendering.RenderTreeBuilder __builder)
| Type | Name | Description |
|---|---|---|
| Rendering.RenderTreeBuilder | __builder |
public override Task SetParametersAsync(ParameterView parameters)
| Type | Name | Description |
|---|---|---|
| ParameterView | parameters |
| Type | Description |
|---|---|
| Task |