Class TaskbarEditedEventArgs<T>
Defines the event arguments of taskbar edited action.
Inheritance
Namespace: Syncfusion.Blazor.Gantt
Assembly: Syncfusion.Blazor.dll
Syntax
public class TaskbarEditedEventArgs<T> : Object
Type Parameters
Name | Description |
---|---|
T | Specifies the type of TaskbarEditedEventArgs. |
Constructors
TaskbarEditedEventArgs()
Declaration
public TaskbarEditedEventArgs()
Properties
Action
Gets the current action.
Declaration
public string Action { get; }
Property Value
Type | Description |
---|---|
System.String | The string value representing the current action. |
Remarks
Use this property to define the current action associated with the instance. The action is specified as a string value.
Cancel
Defines the event cancel status.
Declaration
public bool Cancel { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
|
ColumnName
Gets the column name.
Declaration
public string ColumnName { get; }
Property Value
Type | Description |
---|---|
System.String | The string value representing the column name. |
Remarks
Use this property to define the name of the column associated with the instance. The column name is specified as a string value.
Data
Gets the data.
Declaration
public T Data { get; }
Property Value
Type | Description |
---|---|
T | A generic type that specifies the value of data for an editing task in the Gantt chart. |
Remarks
Use this property to define the data associated with an editing task in the Gantt chart. The data is of a generic type.
EditingFields
Defines the editing fields for a task in the Gantt chart.
Declaration
public GanttTaskModel EditingFields { get; set; }
Property Value
Type | Description |
---|---|
GanttTaskModel | A GanttTaskModel that specifies the editing fields for a task in the Gantt chart. |
Remarks
The EditingFields property represents the fields that can be edited for a task in the Gantt chart. It is an instance of the GanttTaskModel class, which contains properties such as task name, start date, end date, duration, and other task-related information. By setting the EditingFields property, you can customize the fields that are available for editing in the Gantt chart.
PreviousData
Gets the previous value of the editing task.
Declaration
public T PreviousData { get; }
Property Value
Type | Description |
---|---|
T | A generic type that specifies the previous value of the data for an editing task in the Gantt chart. |
Remarks
Use this property to define the previous value of the data associated with an editing task in the Gantt chart. The previous value is of a generic type.
RecordIndex
Gets the index of the edited task.
Declaration
public int RecordIndex { get; }
Property Value
Type | Description |
---|---|
System.Int32 | Accepts a int value that specifies the index of the task being edited in the Gantt chart. |
Remarks
The RecordIndex property represents the index of the task currently being edited in the GanttChart component. It is a zero-based index that indicates the position of the task within the Gantt chart's task collection. You can use the RecordIndex property to identify the specific task being edited and perform any necessary operations or validations on it.
RoundOffDuration
Gets or sets the duration roundoff.
Declaration
public bool RoundOffDuration { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
|
Remarks
The RoundOffDuration property determines whether the duration will be rounded off.
If set to true
, the duration will be rounded off to the nearest whole number or specified decimal places.
If set to false
, the duration will be displayed as is, without rounding off.
By default, the RoundOffDuration property is set to false
.
TaskBarEditAction
Gets the type of taskbar edit action.
Declaration
public string TaskBarEditAction { get; }
Property Value
Type | Description |
---|---|
System.String | The string value representing the type of taskbar edit action. |
Remarks
Use this property to define the type of taskbar edit action associated with the instance. The type of taskbar edit action is specified as a string value.