Class GridCommandButton
The class for the command button in a grid command column.
Inheritance
Inherited Members
Namespace: Telerik.Blazor.Components
Assembly: Telerik.Blazor.dll
Syntax
public class GridCommandButton : CommandButtonBase, IDisposable
Constructors
GridCommandButton()
Declaration
public GridCommandButton()
Properties
Hidden
For internal use.
Declaration
public bool Hidden { get; set; }
Property Value
System.Boolean
|
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
public EventCallback<GridCommandEventArgs> OnClick { get; set; }
Property Value
Microsoft.AspNetCore.Components.EventCallback<GridCommandEventArgs>
|
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
public bool ShowInEdit { get; set; }
Property Value
System.Boolean
|
Methods
BuildRenderTree(RenderTreeBuilder)
Declaration
protected override void BuildRenderTree(RenderTreeBuilder __builder)
Parameters
Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder
__builder
|
OnParametersSet()
Declaration
protected override void OnParametersSet()