ClassSchedulerDialogClosingEventArgs
Contains state information about the dialog that is going to be closed. This event argument class allows applications to intercept dialog closing events, access the dialog result, and optionally cancel the closing operation for validation purposes.
Definition
Namespace:Telerik.Maui.Controls.Scheduler
Assembly:Telerik.Maui.Controls.dll
Syntax:
public class SchedulerDialogClosingEventArgs : SchedulerDialogEventArgs
Inheritance: objectSchedulerDialogEventArgsSchedulerDialogClosingEventArgs
Inherited Members
Constructors
SchedulerDialogClosingEventArgs(SchedulerDialogType, bool?)
Initializes a new instance of the SchedulerDialogClosingEventArgs class.
Declaration
public SchedulerDialogClosingEventArgs(SchedulerDialogType dialogType, bool? dialogResult)
Parameters
dialogType
dialogResult
bool?
Properties
Cancel
Gets or sets a value indicating whether the dialog should be closed. When set to true, the dialog closing is cancelled and the dialog remains open. This allows applications to perform validation and prevent closing if data is invalid.
DialogResult
Gets the DialogResult when closing the dialog. This property indicates how the user interacted with the dialog before it was closed. The value is null when the dialog is closed by the close button of the SchedulerDialog, false when Cancel option is pressed, and true when the dialog is accepted (OK/Save pressed).