更新 : 2007 年 11 月
DesignerView がユーザー入力ジェスチャをコマンドと照合するときに発生します。
名前空間 : Microsoft.Windows.Design.Interaction
アセンブリ : Microsoft.Windows.Design.Interaction (Microsoft.Windows.Design.Interaction.dll 内)
構文
'宣言
Public Event MatchGesture As EventHandler(Of MatchGestureEventArgs)
'使用
Dim instance As DesignerView
Dim handler As EventHandler(Of MatchGestureEventArgs)
AddHandler instance.MatchGesture, handler
public event EventHandler<MatchGestureEventArgs> MatchGesture
public:
event EventHandler<MatchGestureEventArgs^>^ MatchGesture {
void add (EventHandler<MatchGestureEventArgs^>^ value);
void remove (EventHandler<MatchGestureEventArgs^>^ value);
}
JScript では、イベントは使用できません。
解説
このイベントのイベント ハンドラ内で、実行されるコマンドを変更できます。また、コマンドに渡される位置情報と、その他のジェスチャ情報を変更することもできます。入力バインディングを nullnull 参照 (Visual Basic では Nothing) に設定した場合、コマンドは実行されません。
アクセス許可
- 直前の呼び出し元に対する完全な信頼。このメンバは、部分的に信頼されているコードから使用することはできません。詳細については、「部分信頼コードからのライブラリの使用」を参照してください。
参照
参照
Microsoft.Windows.Design.Interaction 名前空間