Class TaskbarEditingEventArgs<TValue>
Provides information about the TaskbarEditing event.
Inheritance
Namespace: Syncfusion.Blazor.Gantt
Assembly: Syncfusion.Blazor.dll
Syntax
public class TaskbarEditingEventArgs<TValue> : Object
Type Parameters
Name | Description |
---|---|
TValue | TValue of the Gantt Chart component. |
Constructors
TaskbarEditingEventArgs()
Declaration
public TaskbarEditingEventArgs()
Properties
Action
Gets the taskbar editing action. The available taskbar editing actions are:
- ParentDrag
- ChildDrag
- RightResizing
- LeftResizing
- ProgressResizing
Declaration
public string Action { get; }
Property Value
Type | Description |
---|---|
System.String | Accepts a string value that represents the taskbar editing action. |
Remarks
The Action property represents the taskbar editing action performed in the GanttChart component. It can have different values depending on the type of taskbar manipulation being performed. The available taskbar editing actions are:
- ParentDrag: Indicates that the taskbar is being dragged as a parent task.
- ChildDrag: Indicates that the taskbar is being dragged as a child task.
- RightResizing: Indicates that the right side of the taskbar is being resized.
- LeftResizing: Indicates that the left side of the taskbar is being resized.
- ProgressResizing: Indicates that the progress portion of the taskbar is being resized. You can use the Action property to determine the type of taskbar editing action that is being performed and respond accordingly in your code.
Cancel
Cancels the taskbar edit action.
Declaration
public bool Cancel { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
|
Data
Gets the data of the task being edited.
Declaration
public TValue Data { get; }
Property Value
Type | Description |
---|---|
TValue | The data object representing the task being edited. |
Remarks
The Data property represents the data of the task currently being edited in the GanttChart component. It provides access to the data object that represents the task and contains various properties such as task name, start date, end date, duration, and other task-related information. You can use the Data property to retrieve or modify the data of the task being edited and perform any necessary operations or validations on it.