GestureRecognizer Clase
Definición
Clase base de todos los reconocedores de gestos.The base class for all gesture recognizers.
public class GestureRecognizer : Xamarin.Forms.Element, System.ComponentModel.INotifyPropertyChanged, Xamarin.Forms.IGestureRecognizer
type GestureRecognizer = class
inherit Element
interface IGestureRecognizer
interface INotifyPropertyChanged
- Herencia
- Derivado
- Implementaciones
Propiedades
AutomationId |
Obtiene o establece un valor que permite que el marco de automatización busque este elemento e interactúe con él.Gets or sets a value that allows the automation framework to find and interact with this element. (Heredado de Element) |
BindingContext |
Obtiene o establece el objeto que contiene las propiedades que van a dirigir las propiedades enlazadas que pertenecen a este BindableObject.Gets or sets object that contains the properties that will be targeted by the bound properties that belong to this BindableObject. (Heredado de BindableObject) |
ClassId |
Obtiene o establece un valor que se usa para identificar una colección de elementos similares semánticamente.Gets or sets a value used to identify a collection of semantically similar elements. (Heredado de Element) |
EffectControlProvider |
Para uso interno de la plataforma de Xamarin.Forms.For internal use by the Xamarin.Forms platform. (Heredado de Element) |
Effects |
Lista de los efectos aplicados a este elemento.A list of the effects that are applied to this item. (Heredado de Element) |
Id |
Obtiene un valor que se puede utilizar para identificar de forma única un elemento durante la ejecución de una aplicación.Gets a value that can be used to uniquely identify an element through the run of an application. (Heredado de Element) |
LogicalChildren |
Para uso interno de la plataforma de Xamarin.Forms.For internal use by the Xamarin.Forms platform. (Heredado de Element) |
Parent |
Obtiene o establece el elemento principal del elemento.Gets or sets the parent element of the element. (Heredado de Element) |
ParentView |
Obtiene el elemento que es el antecesor más cercano de este elemento, que es un VisualElement.Gets the element which is the closest ancestor of this element that is a VisualElement. (Heredado de Element) |
Platform | (Heredado de Element) |
RealParent |
Para uso interno de la plataforma de Xamarin.Forms.For internal use by the Xamarin.Forms platform. (Heredado de Element) |
StyleId |
Obtiene o establece un valor definido por el usuario que identifica de forma única el elemento.Gets or sets a user defined value to uniquely identify the element. (Heredado de Element) |
Métodos
ApplyBindings() |
Aplica los enlaces a BindingContext.Apply the bindings to BindingContext. (Heredado de BindableObject) |
ClearValue(BindableProperty) |
Borra cualquier valor establecido por SetValue para |
ClearValue(BindablePropertyKey) |
Borra cualquier valor establecido por SetValue para la propiedad que |
Descendants() |
Para uso interno de la plataforma de Xamarin.Forms.For internal use by the Xamarin.Forms platform. (Heredado de Element) |
EffectIsAttached(String) |
Para uso interno de la plataforma de Xamarin.Forms.For internal use by the Xamarin.Forms platform. (Heredado de Element) |
FindByName(String) |
Recupera el elemento que tiene el nombre especificado.Returns the element that has the specified name. (Heredado de Element) |
GetValue(BindableProperty) |
Devuelve el valor contenido en la propiedad BindableProperty.Returns the value that is contained in the BindableProperty. (Heredado de BindableObject) |
GetValues(BindableProperty, BindableProperty) |
Para uso interno de la plataforma de Xamarin.Forms.For internal use by the Xamarin.Forms platform. (Heredado de BindableObject) |
GetValues(BindableProperty, BindableProperty, BindableProperty) |
Para uso interno de la plataforma de Xamarin.Forms.For internal use by the Xamarin.Forms platform. (Heredado de BindableObject) |
IsSet(BindableProperty) |
Devuelve |
OnBindingContextChanged() |
Se invoca siempre que el contexto de enlace del elemento cambia.Invoked whenever the binding context of the element changes. Implemente este método a fin de agregar el control de clases para este evento.Implement this method to add class handling for this event. (Heredado de Element) |
OnChildAdded(Element) |
Se invoca siempre que el evento ChildAdded debe emitirse.Invoked whenever the ChildAdded event needs to be emitted. Implemente este método a fin de agregar el control de clases para este evento.Implement this method to add class handling for this event. (Heredado de Element) |
OnChildRemoved(Element) |
Se invoca siempre que el evento ChildRemoved debe emitirse.Invoked whenever the ChildRemoved event needs to be emitted. Implemente este método a fin de agregar el control de clases para este evento.Implement this method to add class handling for this event. (Heredado de Element) |
OnParentSet() |
Se invoca cuando se establece el elemento primario de un elemento.Invoked whenever the Parent of an element is set. Implemente este método para agregar comportamiento cuando el elemento se agrega a un elemento primario.Implement this method in order to add behavior when the element is added to a parent. (Heredado de Element) |
OnPropertyChanged(String) |
Método al que se llama cuando una propiedad enlazada cambia.Method that is called when a bound property is changed. (Heredado de Element) |
OnPropertyChanging(String) |
Llama a este método desde una clase secundaria para notificar que se va a producir un cambio en una propiedad.Call this method from a child class to notify that a change is going to happen on a property. (Heredado de BindableObject) |
RemoveBinding(BindableProperty) |
Quita un enlace definida previamente.Removes a previously set binding. (Heredado de BindableObject) |
RemoveDynamicResource(BindableProperty) |
Quita un recurso dinámico definido previamente.Removes a previously set dynamic resource (Heredado de Element) |
SetBinding(BindableProperty, BindingBase) |
Asigna un enlace a una propiedad.Assigns a binding to a property. (Heredado de BindableObject) |
SetDynamicResource(BindableProperty, String) |
Establece que la propiedad BindableProperty de este elemento se actualice a través del DynamicResource con la clave proporcionada.Sets the BindableProperty property of this element to be updated via the DynamicResource with the provided key. (Heredado de Element) |
SetValue(BindableProperty, Object) |
Establece el valor de la propiedad especificada.Sets the value of the specified property. (Heredado de BindableObject) |
SetValue(BindablePropertyKey, Object) |
Establece el valor de la propiedad propertyKey.Sets the value of the propertyKey. (Heredado de BindableObject) |
SetValueCore(BindableProperty, Object, SetValueFlags) |
Para uso interno de la plataforma de Xamarin.Forms.For internal use by the Xamarin.Forms platform. (Heredado de BindableObject) |
SetValueFromRenderer(BindableProperty, Object) |
Para uso interno de la plataforma de Xamarin.Forms.For internal use by the Xamarin.Forms platform. (Heredado de Element) |
SetValueFromRenderer(BindablePropertyKey, Object) |
Para uso interno de la plataforma de Xamarin.Forms.For internal use by the Xamarin.Forms platform. (Heredado de Element) |
UnapplyBindings() |
Deshace todos los enlaces establecidos previamente.Unapplies all previously set bindings. (Heredado de BindableObject) |
Eventos
BindingContextChanged |
Se produce siempre que cambia la propiedad BindingContext.Raised whenever the BindingContext property changes. (Heredado de BindableObject) |
ChildAdded |
Se produce cada vez que se agrega un elemento secundario al elemento.Occurs whenever a child element is added to the element. (Heredado de Element) |
ChildRemoved |
Se produce cada vez que se quita un elemento secundario del elemento.Occurs whenever a child element is removed from the element. (Heredado de Element) |
DescendantAdded |
Se produce cada vez que se agrega un elemento secundario al subárbol de elementos.Occurs whenever a child element is added to the elements subtree. (Heredado de Element) |
DescendantRemoved |
Se produce cada vez que se quita un elemento secundario del subárbol de elementos.Occurs whenever a child element is removed from the elements subtree. (Heredado de Element) |
PlatformSet | (Heredado de Element) |
PropertyChanged |
Se produce cuando ha cambiado una propiedad.Raised when a property has changed. (Heredado de BindableObject) |
PropertyChanging |
Se produce cuando una propiedad está a punto de cambiar.Raised when a property is about to change. (Heredado de BindableObject) |
Implementaciones de interfaz explícitas
IDynamicResourceHandler.SetDynamicResource(BindableProperty, String) |
Para uso interno de la plataforma de Xamarin.Forms.For internal use by the Xamarin.Forms platform. (Heredado de BindableObject) |
IElementController.SetValueFromRenderer(BindableProperty, Object) |
Para uso interno de la plataforma de Xamarin.Forms.For internal use by the Xamarin.Forms platform. (Heredado de Element) |
INameScope.RegisterName(String, Object) |
Sólo para uso interno.For internal use only. (Heredado de Element) |
Métodos de extensión
SetBinding(BindableObject, BindableProperty, String, BindingMode, IValueConverter, String) |
Crea y aplica un enlace a una propiedad.Creates and applies a binding to a property. |
SetBinding<TSource>(BindableObject, BindableProperty, Expression<Func<TSource,Object>>, BindingMode, IValueConverter, String) |
Crea y aplica un enlace desde una expresión.Creates and applies a binding from an expression. |
FindByName<T>(Element, String) |
Devuelve la instancia del tipo |