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.SetParametersAsync(ParameterView)

Constructors

TableCommandButtonBase()

Declaration

cs-api-definition
protected TableCommandButtonBase()

Properties

OnClick

The click handler that will be executed when the button is clicked. For the built-in commands, consider using only the built-in grid events to handle the CRUD operations.

Declaration

cs-api-definition
[Parameter]
public EventCallback<TClickEventArgs> OnClick { get; set; }

Property Value

EventCallback<TClickEventArgs>

ShowInEdit

Defines whether the button will be shown when the row is in edit mode. Set to false to make it visible only in read mode.

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()