TapGestureRecognizer Konstruktory

Definicja

Przeciążenia

TapGestureRecognizer()

Inicjuje nowe wystąpienie obiektu TapGestureRecognizer.Initializes a new instance of a TapGestureRecognizer object.

TapGestureRecognizer(Action<View,Object>)
Nieaktualne.

Inicjuje nowe wystąpienie obiektu TapGestureRecognizer z sparametryzowanym wywołaniem zwrotnym.Initializes a new instance of a TapGestureRecognizer object with a parameterized callback.

TapGestureRecognizer(Action<View>)
Nieaktualne.

Inicjuje nowe wystąpienie obiektu TapGestureRecognizer z wywołaniem zwrotnym.Initializes a new instance of a TapGestureRecognizer object with a callback.

TapGestureRecognizer()

Inicjuje nowe wystąpienie obiektu TapGestureRecognizer.Initializes a new instance of a TapGestureRecognizer object.

public TapGestureRecognizer ();

Dotyczy

TapGestureRecognizer(Action<View,Object>)

Przestroga

TapGestureRecognizer(Action<View, object> tappedCallback) is obsolete as of version 1.0.2. Please use Command instead.

Inicjuje nowe wystąpienie obiektu TapGestureRecognizer z sparametryzowanym wywołaniem zwrotnym.Initializes a new instance of a TapGestureRecognizer object with a parameterized callback.

[System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
[System.Obsolete("TapGestureRecognizer(Action<View, object> tappedCallback) is obsolete as of version 1.0.2. Please use Command instead.")]
public TapGestureRecognizer (Action<Xamarin.Forms.View,object> tappedCallback);
new Xamarin.Forms.TapGestureRecognizer : Action<Xamarin.Forms.View, obj> -> Xamarin.Forms.TapGestureRecognizer

Parametry

tappedCallback
Action<View,Object>

Akcja, której pierwszy argument to widok, z którym jest skojarzony aparat rozpoznawania i którego drugi argument jest parametrem wywołania zwrotnego.An action whose first argument is the View the recognizer is associated with and whose second argument is the callback parameter.

Atrybuty

Dotyczy

TapGestureRecognizer(Action<View>)

Przestroga

TapGestureRecognizer(Action tappedCallback) is obsolete as of version 1.0.2. Please use Command instead.

Inicjuje nowe wystąpienie obiektu TapGestureRecognizer z wywołaniem zwrotnym.Initializes a new instance of a TapGestureRecognizer object with a callback.

[System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
[System.Obsolete("TapGestureRecognizer(Action<View> tappedCallback) is obsolete as of version 1.0.2. Please use Command instead.")]
public TapGestureRecognizer (Action<Xamarin.Forms.View> tappedCallback);
new Xamarin.Forms.TapGestureRecognizer : Action<Xamarin.Forms.View> -> Xamarin.Forms.TapGestureRecognizer

Parametry

tappedCallback
Action<View>

Akcja, której pierwszy argument to widok, z którym jest skojarzony aparat rozpoznawania.An action whose first argument is the View the recognizer is associated with.

Atrybuty

Dotyczy