Class EditButtonContext
- Namespace
- MudBlazor
- Assembly
- MudBlazor.dll
Information about the Edit button of a MudTable<T> row.
public class EditButtonContext
- Inheritance
-
EditButtonContext
- Inherited Members
- Extension Methods
Constructors
EditButtonContext(Action, bool, object?)
Creates a new instance.
public EditButtonContext(Action buttonAction, bool buttonDisabled, object? item)
Parameters
buttonActionActionThe action which occurs when the edit button is clicked.
buttonDisabledboolPrevents the user from clicking the button.
itemobjectThe item being edited.
Properties
ButtonAction
The action which occurs when the edit button is clicked.
public Action ButtonAction { get; }
Property Value
ButtonDisabled
Prevents the user from clicking the button.
public bool ButtonDisabled { get; }
Property Value
Item
The item being edited.
public object? Item { get; }