Sdílet prostřednictvím


TapGestureRecognizer Konstruktory

Definice

Přetížení

TapGestureRecognizer()

Inicializuje novou instanci TapGestureRecognizer objektu.

TapGestureRecognizer(Action<View,Object>)
Zastaralé.

Inicializuje novou instanci TapGestureRecognizer objektu s parametrizované zpětné volání.

TapGestureRecognizer(Action<View>)
Zastaralé.

Inicializuje novou instanci TapGestureRecognizer objektu se zpětné volání.

TapGestureRecognizer()

Inicializuje novou instanci TapGestureRecognizer objektu.

public TapGestureRecognizer ();

Platí pro

TapGestureRecognizer(Action<View,Object>)

Upozornění

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

Inicializuje novou instanci TapGestureRecognizer objektu s parametrizované zpětné volání.

[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
System.Action<View,System.Object>

Akce, jejíž prvním argumentem je Zobrazení, ke kterému je rozpoznávání přidruženo a jehož druhým argumentem je parametr zpětného volání.

Atributy
System.ComponentModel.EditorBrowsableAttribute System.ObsoleteAttribute

Platí pro

TapGestureRecognizer(Action<View>)

Upozornění

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

Inicializuje novou instanci TapGestureRecognizer objektu se zpětné volání.

[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
System.Action<View>

Akce, jejíž prvním argumentem je Zobrazení, ke kterému je rozpoznávání přidruženo.

Atributy
System.ComponentModel.EditorBrowsableAttribute System.ObsoleteAttribute

Platí pro