Class CloseAction
Defines the method by which a dialog can be closed in the Gantt Chart.
Inheritance
Namespace: Syncfusion.Blazor.Gantt
Assembly: Syncfusion.Blazor.dll
Syntax
public sealed class CloseAction : Enum
Remarks
This enum is used in the CloseBy property to indicate the specific interaction that resulted in the dialog being closed.
Fields
Cancel
Indicates that the dialog was closed using the Cancel button.
Declaration
public const CloseAction Cancel
Field Value
Type |
---|
CloseAction |
Remarks
Pressing the Cancel button generally means the user has decided not to proceed with any actions initiated in the dialog.
Enter
Indicates that the dialog was closed by pressing the Enter key.
Declaration
public const CloseAction Enter
Field Value
Type |
---|
CloseAction |
Remarks
Pressing the Enter key often triggers the default action in dialogs, which may include saving changes.
Escape
Indicates that the dialog was closed by pressing the Escape key.
Declaration
public const CloseAction Escape
Field Value
Type |
---|
CloseAction |
Remarks
This keyboard shortcut is often used for quickly dismissing dialogs, maintaining user workflow efficiency.
Icon
Indicates that the dialog was closed using the close (X) icon.
Declaration
public const CloseAction Icon
Field Value
Type |
---|
CloseAction |
Remarks
Selecting this icon typically signifies that the user intends to dismiss the dialog without saving changes.
Save
Indicates that the dialog was closed using the Save button.
Declaration
public const CloseAction Save
Field Value
Type |
---|
CloseAction |
Remarks
The Save button typically signifies that the user wants to save the changes made within the dialog.