View.GestureRecognizers プロパティ

定義

このビューに関連付けられているジェスチャ レコグナイザーのコレクション。

public:
 property System::Collections::Generic::IList<Microsoft::Maui::Controls::IGestureRecognizer ^> ^ GestureRecognizers { System::Collections::Generic::IList<Microsoft::Maui::Controls::IGestureRecognizer ^> ^ get(); };
public System.Collections.Generic.IList<Microsoft.Maui.Controls.IGestureRecognizer> GestureRecognizers { get; }
member this.GestureRecognizers : System.Collections.Generic.IList<Microsoft.Maui.Controls.IGestureRecognizer>
Public ReadOnly Property GestureRecognizers As IList(Of IGestureRecognizer)

プロパティ値

IGestureRecognizer一覧。

実装

注釈

このコレクションに項目を追加すると、ジェスチャ イベントがこの要素に関連付けられます。 要素が既にネイティブにサポートしているジェスチャにジェスチャ認識エンジンを追加することはお勧めしません。

たとえば、 を にButton追加TapGestureRecognizerすると、予期しない結果が発生する可能性があります。

適用対象