Class
TableCommandButtonBase<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:

cs-api-definition
public abstract class TableCommandButtonBase<TClickEventArgs> : CommandButtonBase, IComponent, IHandleEvent, IHandleAfterRender, IDisposable where TClickEventArgs : TableGridBaseCommandEventArgs, new()

Inheritance: objectComponentBaseBaseComponentButtonBaseCommandButtonBaseTableCommandButtonBase<TClickEventArgs>

Derived Classes: GanttCommandButtonGridCommandButtonTreeListCommandButton

Implements: IComponentIDisposableIHandleAfterRenderIHandleEvent

Inherited Members CommandButtonBase.CommandButtonBase.IdButtonBase.ChildContentButtonBase.TitleButtonBase.IconButtonBase.EnabledButtonBase.TabIndexButtonBase.FillModeButtonBase.RoundedButtonBase.SizeButtonBase.ThemeColorButtonBase.AriaLabelButtonBase.AriaLabelledByButtonBase.AriaDescribedByButtonBase.AriaControlsBaseComponent.ShouldRender()BaseComponent.OnInitializedAsync()BaseComponent.OnAfterRenderAsync(bool)BaseComponent.Dispose()BaseComponent.InitLocalizer()BaseComponent.ThrowIfParameterIsNull(object, string)BaseComponent.HaveOptionsChanged(IDictionary<string, object>, IDictionary<string, object>)BaseComponent.GetClassString(params string[])BaseComponent.InvokeAsync<T>(string, params object[])BaseComponent.InvokeAsync<T>(string, CancellationToken, params object[])BaseComponent.InvokeVoidAsync(string, params object[])BaseComponent.InvokeComponentMethodAsync<T>(string, params object[])BaseComponent.InvokeComponentMethodAsync<T>(string, CancellationToken, params object[])BaseComponent.InvokeVoidComponentMethodAsync(string, params object[])BaseComponent.InvokeComponentVoidMethodAsync(string, object)BaseComponent.InvokeDisposeAsync()BaseComponent.StateHasChanged()BaseComponent.RootComponentBaseComponent.ClassComponentBase.BuildRenderTree(RenderTreeBuilder)ComponentBase.OnInitialized()ComponentBase.OnParametersSetAsync()ComponentBase.OnAfterRender(bool)ComponentBase.InvokeAsync(Action)ComponentBase.InvokeAsync(Func<Task>)ComponentBase.DispatchExceptionAsync(Exception)ComponentBase.SetParametersAsync(ParameterView)

Constructors

TableCommandButtonBase()

Declaration

cs-api-definition
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

cs-api-definition
[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).

Declaration

cs-api-definition
[Parameter]
public bool ShowInEdit { get; set; }

Property Value

bool

Visible

For internal use.

Declaration

cs-api-definition
public bool Visible { get; set; }

Property Value

bool

Methods

OnParametersSet()

Declaration

cs-api-definition
protected override void OnParametersSet()

Overrides ComponentBase.OnParametersSet()