While the UltraMonthViewMulti does not display activity information other than in the form of a tooltip, it may be desirable to have the ability to create new Appointment objects through the control's interface. The property defaults to false. When set to true and the user double clicks on a day, a new instance of the AppointmentDialog is displayed. The dialog is initialized with the Appointment.StartDateTime and Appointment.EndDateTime initialized based on the DayOfWeek.WorkDayStartTime and DayOfWeek.WorkDayEndTime of the DayOfWeek corresponding with the day double clicked.
Private Sub EnableAutoAppointmentDialog(ByVal enable As Boolean) ' Use the AutoAppointmentDialog to control whether the AppointmentDialog ' is automatically displayed on a double-click. If (enable) Then Me.ultraMonthViewMulti1.AutoAppointmentDialog = True Else Me.ultraMonthViewMulti1.AutoAppointmentDialog = False End If End Sub
private void EnableAutoAppointmentDialog( bool enable ) { // Use the AutoAppointmentDialog to control whether the AppointmentDialog // is automatically displayed on a double-click. if ( enable ) this.ultraMonthViewMulti1.AutoAppointmentDialog = true; else this.ultraMonthViewMulti1.AutoAppointmentDialog = false; }
Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2