Class GanttDialogCloseEventArgs<TValue>
Represents event arguments for the GanttDialogClosing event of a Gantt chart dialog.
Inheritance
Namespace: Syncfusion.Blazor.Gantt
Assembly: Syncfusion.Blazor.dll
Syntax
public class GanttDialogCloseEventArgs<TValue> : Object
Type Parameters
Name |
---|
TValue |
Constructors
GanttDialogCloseEventArgs()
Declaration
public GanttDialogCloseEventArgs()
Properties
Cancel
Gets or sets a value indicating whether to cancel the dialog closure of the record.
Declaration
public bool Cancel { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean | If set to |
CloseBy
Gets the interaction method used to close the dialog.
Declaration
public CloseAction CloseBy { get; }
Property Value
Type | Description |
---|---|
CloseAction | A value from the CloseAction enum indicating the interaction used to close the dialog. This property helps differentiate how the dialog was closed for logging or analytics purposes. |
Data
Gets the data associated with the row being edited or added.
Declaration
public TValue Data { get; }
Property Value
Type | Description |
---|---|
TValue | An object of the type |
DialogType
Gets the type of dialog operation being performed.
Declaration
public DialogType DialogType { get; }
Property Value
Type | Description |
---|---|
DialogType | A value from the DialogType enum indicating whether the current operation is adding a new record or editing an existing one. |