バージョン

PerformAction(CalendarComboAction) メソッド

指定されたアクションを実行します。
シンタックス
'宣言
 
Public Overloads Overridable Function PerformAction( _
   ByVal actionCode As CalendarComboAction _
) As Boolean
public virtual bool PerformAction( 
   CalendarComboAction actionCode
)

パラメータ

actionCode
実行するアクションを示す列挙体。

戻り値の型

アクションが問題なく完了した場合は True。アクションが失敗した場合は False。
使用例
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 );

}
参照