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

Dependencies Editing

Updated on Oct 1, 2026

The Gantt Chart component allows you delete its dependencies and create new ones. It exposes dedicated events for dependency editing that you can use to transfer the changes to the underlying data source.

Basics

This section explains the available events that you need to use for creating and deleting the Gantt dependencies. After that, you will find a code example.

The Gantt provides the following dependency events:

  • OnCreate fires when the users drag the dependency handle of a task from one end point to another and thus create a new dependency. It provides a GanttDependencyCreateEventArgs object that contains the currently created dependency.
  • OnDelete fires when the users deletes a dependency. To delete a dependency the user should select it using the mouse and press the Delete keyboard button. It provides a GanttDependencyDeleteEventArgs object that contains the currently deleted dependency in the Item field that you can cast to your model.

Example

Example
View Source
Loading ...
In this article
BasicsExample
Not finding the help you need?
Contact Support