Class
TaskBoardToolBarAddColumnTool

Renders an "Add Column" button in the TelerikTaskBoard<TItem, TColumn> toolbar. By default, clicking the button creates a new column data item, appends the column to the right, and opens inline title editing. If OnClick is provided, that custom callback runs instead and the built-in add behavior is skipped. Must be placed inside a TaskBoardToolBar block on the TaskBoard.

Definition

Namespace:Telerik.Blazor.Components

Assembly:Telerik.Blazor.dll

Syntax:

cs-api-definition
public class TaskBoardToolBarAddColumnTool : TaskBoardToolBarItem, IComponent, IHandleEvent, IHandleAfterRender, ITaskBoardToolBarItem, IDisposable

Inheritance: objectComponentBaseTaskBoardToolBarItemTaskBoardToolBarAddColumnTool

Implements: IComponentIDisposableIHandleAfterRenderIHandleEventITaskBoardToolBarItem

Inherited Members ComponentBase.OnInitialized()ComponentBase.OnInitializedAsync()ComponentBase.OnParametersSet()ComponentBase.OnParametersSetAsync()ComponentBase.StateHasChanged()ComponentBase.ShouldRender()ComponentBase.OnAfterRender(bool)ComponentBase.OnAfterRenderAsync(bool)ComponentBase.InvokeAsync(Action)ComponentBase.InvokeAsync(Func<Task>)ComponentBase.DispatchExceptionAsync(Exception)ComponentBase.SetParametersAsync(ParameterView)

Constructors

TaskBoardToolBarAddColumnTool()

Declaration

cs-api-definition
public TaskBoardToolBarAddColumnTool()

Properties

Icon

The icon rendered inside the add column button. Accepts a , , or a custom icon object. Defaults to the built-in icon.

Declaration

cs-api-definition
[Parameter]
public object Icon { get; set; }

Property Value

object

OnClick

Fires when the user clicks the add column button. When set, overrides the built-in add-column behavior. Use this callback to open a custom dialog, create your own column item, or otherwise fully control the add flow.

Declaration

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

Property Value

EventCallback

Methods

BuildRenderTree(RenderTreeBuilder)

Declaration

cs-api-definition
protected override void BuildRenderTree(RenderTreeBuilder __builder)

Parameters

__builder

RenderTreeBuilder

Overrides ComponentBase.BuildRenderTree(RenderTreeBuilder)