Class ShowingAppointFormEventArgs
Provides data for the ShowingAppointmentForm event.
Inheritance
Namespace: Syncfusion.Windows.Forms.Schedule
Assembly: Syncfusion.Schedule.Windows.dll
Syntax
public class ShowingAppointFormEventArgs : CancelEventArgs
Remarks
The ShowingAppointmentForm event gives you a chance to provide your own AppointmentForm derived class. Set Cancel = true to tell the ScheduleGrid not to display the AppointmentForm. If Cancel = true and Handled = true, then the ScheduleGrid will try to save the Item.
Constructors
ShowingAppointFormEventArgs()
Initializes a new instance of the ShowingAppointFormEventArgs class.
Declaration
public ShowingAppointFormEventArgs()
Properties
AppointmentForm
Gets or sets the AppointmentForm that will be displayed.
Declaration
public AppointmentForm AppointmentForm { get; set; }
Property Value
Type |
---|
AppointmentForm |
ExistingItem
Gets a value indicating whether or not the appointment item is an existing or new item.
Declaration
public bool ExistingItem { get; }
Property Value
Type |
---|
System.Boolean |
Handled
Gets or sets a value indicating whether the value in Item should be saved.
Declaration
public bool Handled { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean | True if items are saved otherwise false. |
Item
Gets or sets the appointment item that will display in the AppointmentForm.
Declaration
public IScheduleAppointment Item { get; set; }
Property Value
Type |
---|
IScheduleAppointment |
MetroAppointmentForm
Gets or sets the metroAppointmentForm that will be displayed.
Declaration
public MetroAppointmentForm MetroAppointmentForm { get; set; }
Property Value
Type |
---|
MetroAppointmentForm |