'Declaration Public Overloads Overridable Function PerformAction( _ ByVal actionCode As CalendarComboAction, _ ByVal shift As Boolean, _ ByVal control As Boolean _ ) As Boolean
public virtual bool PerformAction( CalendarComboAction actionCode, bool shift, bool control )
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click ' Use the 'DropDown' action to programmatically display the dropdown calendar Me.ultraCalendarCombo1.PerformAction(Infragistics.Win.UltraWinSchedule.CalendarCombo.CalendarComboAction.DropDown) ' Use the overload of the PerformAction method that allows simulated ' pressing of the Control and Shift keys to activate the first day of the ' month while preserving the current selection Me.ultraCalendarCombo1.PerformAction(Infragistics.Win.UltraWinSchedule.CalendarCombo.CalendarComboAction.FirstDayOfMonth, False, True) End Sub
private void button1_Click(object sender, System.EventArgs e) { // Use the 'DropDown' action to programmatically display the dropdown calendar this.ultraCalendarCombo1.PerformAction( Infragistics.Win.UltraWinSchedule.CalendarCombo.CalendarComboAction.DropDown ); // Use the overload of the PerformAction method that allows simulated // pressing of the Control and Shift keys to activate the first day of the // month while preserving the current selection this.ultraCalendarCombo1.PerformAction( Infragistics.Win.UltraWinSchedule.CalendarCombo.CalendarComboAction.FirstDayOfMonth, false, true ); }
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