New to Telerik UI for Blazor? Start a free 30-day trial

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:

C#
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)...

Example:

Example
View Source
<TaskBoardToolBar>
    <TaskBoardToolBarAddColumnTool />
</TaskBoardToolBar>

<TaskBoardToolBar>
    <TaskBoardToolBarAddColumnTool OnClick="@OpenAddColumnDialog" />
</TaskBoardToolBar>

Constructors

C#
public TaskBoardToolBarAddColumnTool()

Properties

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

C#
[Parameter]
public object Icon { get; set; }

Specifies the SVG variant for Icon. When the value is null, empty, or unsupported, the icon's default SVG content is rendered. Font and custom CSS icons are unaffected.

C#
[Parameter]
public string IconVariant { get; set; }

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.

C#
[Parameter]
public EventCallback OnClick { get; set; }

Methods

C#
protected override void BuildRenderTree(RenderTreeBuilder __builder)
Parameters:__builderRenderTreeBuilder

Overrides: ComponentBase.BuildRenderTree(RenderTreeBuilder)