ClassTableCommandButtonBase<TClickEventArgs>
The base class for command buttons in other components such as the ListView and the Grid.
Definition
Namespace:Telerik.Blazor.Components.Common.Grid.Buttons
Assembly:Telerik.Blazor.dll
Type Parameters:
TClickEventArgs
Syntax:
public abstract class TableCommandButtonBase<TClickEventArgs> : CommandButtonBase, IComponent, IHandleEvent, IHandleAfterRender, IDisposable where TClickEventArgs : TableGridBaseCommandEventArgs, new()
Inheritance: objectComponentBaseBaseComponentButtonBaseCommandButtonBaseTableCommandButtonBase<TClickEventArgs>
Derived Classes:
Implements:
Inherited Members
Constructors
TableCommandButtonBase()
Declaration
protected TableCommandButtonBase()
Properties
OnClick
Fires when the command button is clicked. Receives event arguments with information about the clicked row and its data item. For built-in commands, use the main Grid events instead of this handler for proper CRUD operations.
Declaration
[Parameter]
public EventCallback<TClickEventArgs> OnClick { get; set; }
Property Value
EventCallback<TClickEventArgs>
ShowInEdit
Controls button visibility based on row editing state. Set to true to show the button only during editing, false to show only in read mode. Default value is false (button visible in read mode only).
Methods
OnParametersSet()
Declaration
protected override void OnParametersSet()
Overrides