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:
OnCreatefires when the users drag the dependency handle of a task from one end point to another and thus create a new dependency. It provides aGanttDependencyCreateEventArgsobject that contains the currently created dependency.OnDeletefires when the users deletes a dependency. To delete a dependency the user should select it using the mouse and press theDeletekeyboard button. It provides aGanttDependencyDeleteEventArgsobject that contains the currently deleted dependency in theItemfield that you can cast to your model.
Example
Loading ...