'Declaration Public Enum UltraDayViewAction Inherits System.Enum
public enum UltraDayViewAction : System.Enum
Member | Description |
---|---|
CreateAppointmentAndEnterEditMode | Creates a new Appointment based on selected time slots and enters edit mode. |
DeleteSelectedAppointments | Delete selected appointmens |
EndCurrentEditDiscardChanges | End current appointment edit, discarding any changes that were made to the appointment's Subject |
EndCurrentEditSaveChanges | End current appointment edit, saving any changes that were made to the appointment's Subject |
EnterEditMode | Puts the first selected appointment into edit mode. |
FirstWorkingHourTimeSlot | First Working Hour TimeSlot |
LastWorkingHourTimeSlot | Last Working Hour TimeSlot |
NextColumn | Next column |
NextTimeSlot | Next TimeSlot |
NextTimeSlotForLastSelectedAppointment | Selects the TimeSlot following the one that contains the last selected appointment. |
NextVisibleDay | Next Visible Day |
OpenAppointmentDialog | Opens the appointment editing dialog. |
PageDown | Page Down |
PageUp | Page Up |
PreviousColumn | Previous column |
PreviousTimeSlot | Previous TimeSlot |
PreviousTimeSlotForFirstSelectedAppointment | Selects the TimeSlot preceding the one that contains the first selected appointment. |
PreviousVisibleDay | Previous Visible Day |
SameTimeSlotNextColumn | Same TimeSlot Next Column |
SameTimeSlotNextDay | Same TimeSlot Next Day |
SameTimeSlotPreviousColumn | Same TimeSlot Previous Column |
SameTimeSlotPreviousDay | Same TimeSlot Previous Day |
SameTimeSlotsNextDayForSelectedAppointments | Selects a TimeSlot range in the next visible day that is based on the currently selected appointments. |
SameTimeSlotsPreviousDayForSelectedAppointments | Selects a TimeSlot range in the previous visible day that is based on the currently selected appointments. |
ScrollAllDayEventAreaDown | Scrolls the all-day event area down by one row. |
ScrollAllDayEventAreaUp | Scrolls the all-day event area up by one row. |
SelectNextActivity | Selects the next appointment in the tab order. |
SelectPreviousActivity | Selects the previous appointment in the tab order. |
Imports Infragistics.Win Imports Infragistics.Win.UltraWinSchedule Private Sub Button4_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button4.Click ' Get the current state of the UltraDayView control Dim state As UltraDayViewState = Me.UltraDayView1.CurrentState ' Check the state bit flags to see if a time slot is selected If (state And UltraDayViewState.TimeSlotSelected) <> 0 Then ' Since a time slot is selected, call PerformAction ' to select the same time slot in the next day. Me.UltraDayView1.PerformAction(UltraDayViewAction.SameTimeSlotNextDay) End If End Sub
using Infragistics.Win; using Infragistics.Win.UltraWinSchedule; private void button4_Click(object sender, System.EventArgs e) { // Get the current state of the UltraDayView control UltraDayViewState state = this.ultraDayView1.CurrentState; // Check the state bit flags to see if a time slot is selected if ((state & UltraDayViewState.TimeSlotSelected) != 0) { // Since a time slot is selected, call PerformAction // to select the same time slot in the next day. this.ultraDayView1.PerformAction(UltraDayViewAction.SameTimeSlotNextDay); } }
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