PowerTools CalendarGrid for Windows Forms 1.0J
Commands プロパティ

GcCalendarGrid コントロールに登録されているすべての CalendarGridCommand を取得します。
構文
Public ReadOnly Property Commands As CalendarGridCommandCollection
public CalendarGridCommandCollection Commands {get;}
解説

GcCalendarGrid.Commands プロパティから GcCalendarGrid コントロールのすべての CalendarGridCommand にアクセスし、新しい CalendarGridCommand を追加したり、既存の CalendarGridCommand を削除したりできます。

CalendarGridActions から組み込みアクションを取得し、ICalendarGridAction.Execute メソッドを呼び出して特定のアクションを実行できます。また、このインタフェースを実装して独自のアクションを記述することもできます。

ICalendarGridAction は、GcCalendarGrid コントロールによって実行される操作です。通常、ICalendarGridAction をジェスチャーと組み合わせて CalendarGridCommand を生成できます。ジェスチャーが System.Windows.Forms.Keys の場合は CalendarGridKeyboardCommand が生成され、該当するキーを押すとその ICalendarGridActionGcCalendarGrid コントロールによって自動的に実行されます。ジェスチャーが CalendarMouseGesture の場合は CalendarGridMouseCommand が生成され、該当するマウス操作を行うとその ICalendarGridAction が実行されます。ジェスチャーがタッチデバイスの CalendarTouchGesture の場合は CalendarGridTouchCommand が生成され、該当する CalendarTouchGesture を行うとその ICalendarGridActionGcCalendarGrid コントロールによって自動的に実行されます。

参照

GcCalendarGrid クラス
GcCalendarGrid メンバ
CalendarGridCommand クラス
CalendarGridKeyboardCommand クラス
CalendarTouchGesture 列挙体
CalendarMouseGesture 列挙体
CalendarGridMouseCommand クラス
CalendarGridTouchCommand クラス

 

 


© 2014 GrapeCity inc. All rights reserved.