New to Telerik UI for BlazorStart a free 30-day trial

The context object passed to the EditPaneTemplate render fragment. Provides a cloned copy of the card data item and methods to save or cancel the edit from within the custom template.

Definition

Namespace:Telerik.Blazor.Components

Assembly:Telerik.Blazor.dll

Type Parameters:

TItem

The type of the card data items.

Syntax:

C#
public class TaskBoardEditPaneTemplateContext<TItem>

Inheritance: objectTaskBoardEditPaneTemplateContext<TItem>

Constructors

C#
public TaskBoardEditPaneTemplateContext()

Properties

Cancels the current edit and closes the pane without saving.

C#
public Func<Task> CancelAsync { get; init; }

Item

TItem

A shallow clone of the card data item being edited, or a new instance when adding a card. Mutate this item directly; calling SaveAsync will commit these changes.

C#
public TItem Item { get; init; }

Saves the current edit and closes the pane.

C#
public Func<Task> SaveAsync { get; init; }