ScrollView Clase
Definición
Un elemento capaz de desplazarse si el contenido lo requiere.An element capable of scrolling if its Content requires.
[Xamarin.Forms.ContentProperty("Content")]
[Xamarin.Forms.RenderWith(typeof(Xamarin.Forms.Platform._ScrollViewRenderer))]
public class ScrollView : Xamarin.Forms.Layout, Xamarin.Forms.IElementConfiguration<Xamarin.Forms.ScrollView>, Xamarin.Forms.IScrollViewController
type ScrollView = class
inherit Layout
interface IScrollViewController
interface ILayoutController
interface IElementConfiguration<ScrollView>
- Herencia
- Atributos
- Implementaciones
Comentarios
En el ejemplo siguiente se muestra la creación de un ScrollView con una gran cantidad StackLayout en él.The following example shows the creation of a ScrollView with a large StackLayout in it.
var stack = new StackLayout();
for (int i = 0; i < 100; i++)
{
stack.Children.Add(new Button { Text = "Button " + i });
}
MainPage = new ContentPage
{
Content = new ScrollView { Content = stack }
};
Constructores
ScrollView() |
Inicializa una nueva instancia de la clase ScrollView.Initializes a new instance of the ScrollView class. |
Campos
ContentSizeProperty |
Identifica la propiedad enlazable ContentSize.Identifies the ContentSize bindable property. |
HorizontalScrollBarVisibilityProperty |
Memoria auxiliar de la propiedad HorizontalScrollBarVisibility.Backing store for the HorizontalScrollBarVisibility property. |
OrientationProperty |
Identifica la propiedad enlazable Orientation.Identifies the Orientation bindable property. |
ScrollXProperty |
Memoria auxiliar de la propiedad ScrollX.Backing store for the ScrollX property. |
ScrollYProperty |
Memoria auxiliar de la propiedad ScrollY.Backing store for the ScrollY property. |
VerticalScrollBarVisibilityProperty |
Memoria auxiliar de la propiedad VerticalScrollBarVisibility.Backing store for the VerticalScrollBarVisibility property. |
Propiedades
AnchorX |
Obtiene o establece el componente X del punto central de cualquier transformación relativa a los límites del elemento.Gets or sets the X component of the center point for any transform, relative to the bounds of the element. Es una propiedad enlazable.This is a bindable property. (Heredado de VisualElement) |
AnchorY |
Obtiene o establece el componente Y del punto central de cualquier transformación relativa a los límites del elemento.Gets or sets the Y component of the center point for any transform, relative to the bounds of the element. Es una propiedad enlazable.This is a bindable property. (Heredado de VisualElement) |
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) |
Background | (Heredado de VisualElement) |
BackgroundColor |
Obtiene o establece el color que rellenará el fondo de un VisualElement.Gets or sets the color which will fill the background of a VisualElement. Es una propiedad enlazable.This is a bindable property. (Heredado de VisualElement) |
Batched |
Para uso interno de la plataforma de Xamarin.Forms.For internal use by the Xamarin.Forms platform. (Heredado de VisualElement) |
Behaviors |
Obtiene la lista de comportamientos asociados a este elemento.Gets the list of Behaviors associated to this element. Es una propiedad enlazable.This is a bindable property. (Heredado de VisualElement) |
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) |
Bounds |
Obtiene los límites del elemento.Gets the bounds of the element. (Heredado de VisualElement) |
CascadeInputTransparent |
Obtiene o establece un valor que controla si los elementos secundarios heredan la transparencia de entrada de |
Children |
Para uso interno de la plataforma de Xamarin.Forms.For internal use by the Xamarin.Forms platform. (Heredado de Layout) |
class | (Heredado de NavigableElement) |
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) |
Clip | (Heredado de VisualElement) |
Content |
Obtiene o establece View para mostrarse en ScrollView.Gets or sets a View to display in the ScrollView. |
ContentSize |
Obtiene el tamaño del contenido.Gets the size of the Content. Es una propiedad enlazable.This is a bindable property. |
DisableLayout |
Para uso interno de la plataforma de Xamarin.Forms.For internal use by the Xamarin.Forms platform. (Heredado de VisualElement) |
Dispatcher | (Heredado de BindableObject) |
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) |
FlowDirection |
Obtiene o establece la dirección de flujo del diseño.Gets or sets the layout flow direction. (Heredado de VisualElement) |
GestureController |
Obtiene el controlador de gestos de la vista.Gets the gesture controller for the view. (Heredado de View) |
GestureRecognizers |
Colección de reconocedores de gestos asociados a esta vista.The collection of gesture recognizers associated with this view. (Heredado de View) |
Height |
Obtiene el alto representado actualmente de este elemento.Gets the current rendered height of this element. Esta propiedad enlazable es de solo lectura.This is a read-only bindable property. (Heredado de VisualElement) |
HeightRequest |
Obtiene o establece la invalidación de alto deseado de este elemento.Gets or sets the desired height override of this element. (Heredado de VisualElement) |
HorizontalOptions |
Obtiene o establece el objeto LayoutOptions que define cómo se dispone el elemento dentro de un ciclo de diseño.Gets or sets the LayoutOptions that define how the element gets laid in a layout cycle. Es una propiedad enlazable.This is a bindable property. (Heredado de View) |
HorizontalScrollBarVisibility |
Obtiene o establece un valor que controla cuándo está visible la barra de desplazamiento horizontal.Gets or sets a value that controls when the horizontal scroll bar is visible. |
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) |
InputTransparent |
Obtiene o establece un valor que indica si este elemento deber involucrarse en el ciclo de interacción del usuario.Gets or sets a value indicating whether this element should be involved in the user interaction cycle. Es una propiedad enlazable.This is a bindable property. (Heredado de VisualElement) |
IsClippedToBounds |
Obtiene o establece un valor que determina si el diseño debe recortar sus elementos secundarios por sus límites.Gets or sets a value which determines if the Layout should clip its children to its bounds. (Heredado de Layout) |
IsEnabled |
Obtiene o establece un valor que indica si este elemento está habilitado en la interfaz de usuario.Gets or sets a value indicating whether this element is enabled in the user interface. Es una propiedad enlazable.This is a bindable property. (Heredado de VisualElement) |
IsFocused |
Obtiene un valor que indica si este elemento está visible en estos momentos.Gets a value indicating whether this element is focused currently. Es una propiedad enlazable.This is a bindable property. (Heredado de VisualElement) |
IsInNativeLayout |
Para uso interno de la plataforma de Xamarin.Forms.For internal use by the Xamarin.Forms platform. (Heredado de VisualElement) |
IsNativeStateConsistent |
Para uso interno de la plataforma de Xamarin.Forms.For internal use by the Xamarin.Forms platform. (Heredado de VisualElement) |
IsPlatformEnabled |
Para uso interno de la plataforma de Xamarin.Forms.For internal use by the Xamarin.Forms platform. (Heredado de VisualElement) |
IsTabStop |
Obtiene o establece un valor que indica si este elemento está incluido en la navegación por tabulación.Gets or sets a value that indicates whether this element is included in tab navigation. Es una propiedad enlazable.This is a bindable property. (Heredado de VisualElement) |
IsVisible |
Obtiene o establece un valor que determina si estos elementos deben formar parte del árbol visual o no.Gets or sets a value that determines whether this elements should be part of the visual tree or not. Es una propiedad enlazable.This is a bindable property. (Heredado de VisualElement) |
LayoutAreaOverride | |
LogicalChildren |
Para uso interno de la plataforma de Xamarin.Forms.For internal use by the Xamarin.Forms platform. (Heredado de Element) |
Margin |
Obtiene o establece el margen de la vista.Gets or sets the margin for the view. (Heredado de View) |
MinimumHeightRequest |
Obtiene o establece un valor que reemplaza la altura mínima que solicitará el elemento durante el diseño.Gets or sets a value which overrides the minimum height the element will request during layout. (Heredado de VisualElement) |
MinimumWidthRequest |
Obtiene o establece un valor que reemplaza el ancho mínimo que solicitará el elemento durante el diseño.Gets or sets a value which overrides the minimum width the element will request during layout. (Heredado de VisualElement) |
Navigation | (Heredado de NavigableElement) |
NavigationProxy | (Heredado de NavigableElement) |
Opacity |
Obtiene o establece el valor de opacidad aplicado al elemento cuando se representa.Gets or sets the opacity value applied to the element when it is rendered. Es una propiedad enlazable.This is a bindable property. (Heredado de VisualElement) |
Orientation |
Obtiene o establece la dirección de desplazamiento de ScrollView.Gets or sets the scrolling direction of the ScrollView. Es una propiedad enlazable.This is a bindable property. |
Padding |
Obtiene o establece el espaciado interno del diseño.Gets or sets the inner padding of the Layout. (Heredado de Layout) |
Parent |
Obtiene o establece el elemento principal del elemento.Gets or sets the parent element of the element. (Heredado de Element) |
ParentView |
Obsoleto.
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 |
Obsoleto.
(Heredado de Element)
|
RealParent |
Para uso interno de la plataforma de Xamarin.Forms.For internal use by the Xamarin.Forms platform. (Heredado de Element) |
Resources |
Obtiene o establece el diccionario de recursos locales.Gets or sets the local resource dictionary. (Heredado de VisualElement) |
Rotation |
Obtiene o establece la rotación sobre el eje Z (rotación afín) cuando se representa el elemento.Gets or sets the rotation about the Z-axis (affine rotation) when the element is rendered. (Heredado de VisualElement) |
RotationX |
Obtiene o establece la rotación sobre el eje X (rotación de perspectiva) cuando se representa el elemento.Gets or sets the rotation about the X-axis (perspective rotation) when the element is rendered. (Heredado de VisualElement) |
RotationY |
Obtiene o establece la rotación sobre el eje Y (rotación de perspectiva) cuando se representa el elemento.Gets or sets the rotation about the Y-axis (perspective rotation) when the element is rendered. (Heredado de VisualElement) |
Scale |
Obtiene o establece el factor de escala aplicado al elemento.Gets or sets the scale factor applied to the element. (Heredado de VisualElement) |
ScaleX |
Obtiene o establece un valor de escala que se aplicará a la dirección del eje X.Gets or sets a scale value to apply to the X direction. (Heredado de VisualElement) |
ScaleY |
Obtiene o establece un valor de escala que se aplicará a la dirección del eje Y.Gets or sets a scale value to apply to the Y direction. (Heredado de VisualElement) |
ScrollX |
Obtiene la posición de desplazamiento X actual.Gets the current X scroll position. |
ScrollY |
Obtiene la posición de desplazamiento Y actual.Gets the current Y scroll position. |
Style | (Heredado de NavigableElement) |
StyleClass | (Heredado de NavigableElement) |
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) |
TabIndex | (Heredado de VisualElement) |
TranslationX |
Obtiene o establece el delta de traslación X del elemento.Gets or sets the X translation delta of the element. (Heredado de VisualElement) |
TranslationY |
Obtiene o establece el delta de traslación Y del elemento.Gets or sets the Y translation delta of the element. (Heredado de VisualElement) |
Triggers |
Obtiene la lista de desencadenadores asociados a este elemento.Gets the list of Trigger associated to this element. Es una propiedad enlazable.This is a bindable property. (Heredado de VisualElement) |
VerticalOptions |
Obtiene o establece el objeto LayoutOptions que define cómo se dispone el elemento dentro de un ciclo de diseño.Gets or sets the LayoutOptions that define how the element gets laid in a layout cycle. Es una propiedad enlazable.This is a bindable property. (Heredado de View) |
VerticalScrollBarVisibility |
Obtiene o establece un valor que controla cuándo está visible la barra de desplazamiento vertical.Gets or sets a value that controls when the vertical scroll bar is visible. |
Visual | (Heredado de VisualElement) |
Width |
Obtiene el ancho representado actualmente de este elemento.Gets the current rendered width of this element. Esta propiedad enlazable es de solo lectura.This is a read-only bindable property. (Heredado de VisualElement) |
WidthRequest |
Obtiene o establece la invalidación de ancho deseado de este elemento.Gets or sets the desired width override of this element. (Heredado de VisualElement) |
X |
Obtiene la posición X actual de este elemento.Gets the current X position of this element. Esta propiedad enlazable es de solo lectura.This is a read-only bindable property. (Heredado de VisualElement) |
Y |
Obtiene la posición Y actual de este elemento.Gets the current Y position of this element. Esta propiedad enlazable es de solo lectura.This is a read-only bindable property. (Heredado de VisualElement) |
Métodos
ApplyBindings() |
Aplica los enlaces a BindingContext.Apply the bindings to BindingContext. (Heredado de BindableObject) |
BatchBegin() |
Señala el inicio de un lote de cambios en las propiedades de elementos.Signals the start of a batch of changes to the elements properties. (Heredado de VisualElement) |
BatchCommit() |
Señala el final de un lote de comandos para el elemento y que esos comandos ahora deberían estar confirmados.Signals the end of a batch of commands to the element and that those commands should now be committed. (Heredado de VisualElement) |
ChangeVisualState() |
Para uso interno de la plataforma de Xamarin.Forms.For internal use by the Xamarin.Forms platform. (Heredado de VisualElement) |
ClearValue(BindableProperty) |
Borra cualquier valor establecido por SetValue para |
ClearValue(BindablePropertyKey) |
Borra cualquier valor establecido por SetValue para la propiedad que |
CoerceValue(BindableProperty) | (Heredado de BindableObject) |
CoerceValue(BindablePropertyKey) | (Heredado de BindableObject) |
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) |
Focus() |
Intenta establecer el foco en este elemento.Attemps to set focus to this element. (Heredado de VisualElement) |
ForceLayout() |
Fuerza un ciclo de diseño ciclo en el elemento y todos sus descendientes.Forces a layout cycle on the element and all of its descendants. (Heredado de Layout) |
GetChildElements(Point) |
Devuelve los elementos secundarios que están visualmente bajo el |
GetScrollPositionForElement(VisualElement, ScrollToPosition) |
Para uso interno de la plataforma de Xamarin.Forms.For internal use by the Xamarin.Forms platform. |
GetSizeRequest(Double, Double) |
Obsoleto.
Devuelve SizeRequest del diseño.Returns the SizeRequest of the Layout. Al llamar a este método empieza el paso de medida de un ciclo de diseño.Calling this method begins the measure pass of a layout cycle. (Heredado de Layout) |
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) |
Obsoleto.
Para uso interno de la plataforma de Xamarin.Forms.For internal use by the Xamarin.Forms platform. (Heredado de BindableObject) |
GetValues(BindableProperty, BindableProperty, BindableProperty) |
Obsoleto.
Para uso interno de la plataforma de Xamarin.Forms.For internal use by the Xamarin.Forms platform. (Heredado de BindableObject) |
InvalidateLayout() |
Invalida el diseño actual.Invalidates the current layout. (Heredado de Layout) |
InvalidateMeasure() |
Método que se llama para invalidar el diseño de este VisualElement.Method that is called to invalidate the layout of this VisualElement. Genera el evento MeasureInvalidated.Raises the MeasureInvalidated event. (Heredado de VisualElement) |
InvalidateMeasureNonVirtual(InvalidationTrigger) |
Para uso interno de la plataforma de Xamarin.Forms.For internal use by the Xamarin.Forms platform. (Heredado de VisualElement) |
IsSet(BindableProperty) |
Devuelve |
Layout(Rectangle) |
Actualiza los límites del elemento durante el ciclo de diseño.Updates the bounds of the element during the layout cycle. (Heredado de VisualElement) |
LayoutChildren(Double, Double, Double, Double) |
Sitúa y dimensiona el contenido de un objeto ScrollView.Positions and sizes the content of a ScrollView. |
LowerChild(View) |
Envía un elemento secundario al final de la pila visual.Sends a child to the back of the visual stack. (Heredado de Layout) |
Measure(Double, Double, MeasureFlags) |
Devuelve el tamaño mínimo que un elemento visual necesita para mostrarse en el dispositivo.Returns the minimum size that a visual element needs in order to be displayed on the device. (Heredado de VisualElement) |
NativeSizeChanged() |
Para uso interno de la plataforma de Xamarin.Forms.For internal use by the Xamarin.Forms platform. (Heredado de VisualElement) |
On<T>() |
Devuelve la instancia específica de la plataforma de esta ScrollView, en la que se puede llamar a un método específico de la plataforma.Returns the platform-specific instance of this ScrollView, on which a platform-specific method may be called. |
OnBindingContextChanged() |
Se invoca siempre que cambia el contexto de enlace de View.Invoked whenever the binding context of the View changes. Invalide este método a fin de agregar el control de clases para este evento.Override this method to add class handling for this event. (Heredado de View) |
OnChildAdded(Element) |
Los desarrolladores de aplicaciones pueden invalidar este método para responder cuando se agrega un elemento secundario.Application developers can override this method to respond when a child is added. (Heredado de VisualElement) |
OnChildMeasureInvalidated() |
Se invoca cuando un elemento secundario del diseño ha emitido MeasureInvalidated.Invoked whenever a child of the layout has emitted MeasureInvalidated. 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 Layout) |
OnChildMeasureInvalidated(Object, EventArgs) |
Se invoca cuando un elemento secundario del diseño ha emitido MeasureInvalidated.Invoked whenever a child of the layout has emitted MeasureInvalidated. 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 Layout) |
OnChildRemoved(Element) |
Los desarrolladores de aplicaciones pueden invalidar este método para responder cuando se quita un elemento secundario.Application developers can override this method to respond when a child is removed. (Heredado de VisualElement) |
OnChildRemoved(Element, Int32) | (Heredado de Element) |
OnChildrenReordered() |
Se invoca siempre que el evento ChildrenReordered está a punto de ser emitido.Invoked whenever the ChildrenReordered event is about 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 VisualElement) |
OnMeasure(Double, Double) |
Método que se llama cuando se produce una medición del diseño.Method that is called when a layout measurement happens. (Heredado de VisualElement) |
OnParentSet() | (Heredado de NavigableElement) |
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) |
OnSizeAllocated(Double, Double) |
Este método se llama cuando se establece el tamaño del elemento durante un ciclo de diseño.This method is called when the size of the element is set during a layout cycle. Este método se llama justo antes de que se produzca el evento SizeChanged.This method is called directly before the SizeChanged event is 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 Layout) |
OnSizeRequest(Double, Double) |
Obsoleto.
Se llama a este método durante el paso de medida de un ciclo de diseño para obtener el tamaño deseado de un elemento.This method is called during the measure pass of a layout cycle to get the desired size of an element. |
OnTabIndexPropertyChanged(Int32, Int32) | (Heredado de VisualElement) |
OnTabStopPropertyChanged(Boolean, Boolean) | (Heredado de VisualElement) |
RaiseChild(View) |
Envía un elemento secundario al principio de la pila visual.Sends a child to the front of the visual stack. (Heredado de Layout) |
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) |
ResolveLayoutChanges() | (Heredado de Layout) |
ScrollToAsync(Double, Double, Boolean) |
Devuelve una tarea que desplaza la vista de desplazamiento de forma asincrónica a una posición.Returns a task that scrolls the scroll view to a position asynchronously. |
ScrollToAsync(Element, ScrollToPosition, Boolean) |
Devuelve una tarea que desplaza la vista de desplazamiento de forma asincrónica a un elemento.Returns a task that scrolls the scroll view to an element asynchronously. |
SendScrollFinished() |
Para uso interno de la plataforma de Xamarin.Forms.For internal use by the Xamarin.Forms platform. |
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) |
SetScrolledPosition(Double, Double) |
Para uso interno de la plataforma de Xamarin.Forms.For internal use by the Xamarin.Forms platform. |
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) |
ShouldInvalidateOnChildAdded(View) |
Una vez implementado, debería devolver |
ShouldInvalidateOnChildRemoved(View) |
Una vez implementado, debería devolver |
SizeAllocated(Double, Double) |
Se llama a SizeAllocated durante un ciclo de diseño para indicar el inicio de un diseño de árbol secundario.SizeAllocated is called during a layout cycle to signal the start of a sub-tree layout. (Heredado de VisualElement) |
TabIndexDefaultValueCreator() | (Heredado de VisualElement) |
TabStopDefaultValueCreator() | (Heredado de VisualElement) |
UnapplyBindings() |
Deshace todos los enlaces establecidos previamente.Unapplies all previously set bindings. (Heredado de BindableObject) |
Unfocus() |
Anula el foco en este elemento.Unsets focus to this element. (Heredado de VisualElement) |
UpdateChildrenLayout() |
Indica al diseño que rediseñe todos sus elementos secundarios.Instructs the layout to relayout all of its children. (Heredado de Layout) |
Eventos
BatchCommitted |
Para uso interno de la plataforma de Xamarin.Forms.For internal use by the Xamarin.Forms platform. (Heredado de VisualElement) |
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) |
ChildrenReordered |
Se produce cuando se han vuelto a ordenar los elementos secundarios de un VisualElement.Occurs when the Children of a VisualElement have been re-ordered. (Heredado de VisualElement) |
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) |
FocusChangeRequested |
Para uso interno de la plataforma de Xamarin.Forms.For internal use by the Xamarin.Forms platform. (Heredado de VisualElement) |
Focused |
Se produce cuando el elemento recibe el foco.Occurs when the element receives focus. (Heredado de VisualElement) |
LayoutChanged |
Se produce al final de un ciclo de diseño si alguna Bounds del elemento secundario ha cambiado.Occurs at the end of a layout cycle if any of the child element's Bounds have changed. (Heredado de Layout) |
MeasureInvalidated |
Evento que se provoca cuando se invalida el diseño de un elemento visual.Event that is raised when the layout of a visual element is invalidated. (Heredado de VisualElement) |
PlatformSet |
Obsoleto.
(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) |
Scrolled |
Evento que se genera después de que el desplazamiento finalice.Event that is raised after a scroll completes. |
ScrollToRequested |
Para uso interno de la plataforma de Xamarin.Forms.For internal use by the Xamarin.Forms platform. |
SizeChanged |
Se produce cuando las propiedades Width o Height cambian el valor en este elemento.Occurs when either the Width or the Height properties change value on this element. (Heredado de VisualElement) |
Unfocused |
Se produce cuando el elemento pierde el foco.Occurs when the element loses focus. (Heredado de VisualElement) |
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) |
IGestureController.CompositeGestureRecognizers |
Para uso interno de la plataforma de Xamarin.Forms.For internal use by the Xamarin.Forms platform. (Heredado de View) |
INameScope.RegisterName(String, Object) |
Sólo para uso interno.For internal use only. (Heredado de Element) |
IVisualElementController.EffectiveFlowDirection |
Obtiene la dirección de flujo visual efectiva para el elemento en la plataforma, teniendo en cuenta la configuración regional y del flujo lógico.Gets the effective visual flow direction for the element on the platform, taking into account the locale and logical flow settings. (Heredado de VisualElement) |
IVisualElementController.InvalidateMeasure(InvalidationTrigger) |
Este método es para uso interno.This method is for internal use. (Heredado de VisualElement) |
Métodos de extensión
AbortAnimation(IAnimatable, String) |
Detiene la animación.Stops the animation. |
Animate(IAnimatable, String, Action<Double>, Double, Double, UInt32, UInt32, Easing, Action<Double,Boolean>, Func<Boolean>) |
Establece los parámetros especificados e inicia la animación.Sets the specified parameters and starts the animation. |
Animate(IAnimatable, String, Action<Double>, UInt32, UInt32, Easing, Action<Double,Boolean>, Func<Boolean>) |
Establece los parámetros especificados e inicia la animación.Sets the specified parameters and starts the animation. |
Animate(IAnimatable, String, Animation, UInt32, UInt32, Easing, Action<Double,Boolean>, Func<Boolean>) |
Establece los parámetros especificados e inicia la animación.Sets the specified parameters and starts the animation. |
Animate<T>(IAnimatable, String, Func<Double,T>, Action<T>, UInt32, UInt32, Easing, Action<T,Boolean>, Func<Boolean>) |
Establece los parámetros especificados e inicia la animación.Sets the specified parameters and starts the animation. |
AnimateKinetic(IAnimatable, String, Func<Double,Double,Boolean>, Double, Double, Action) |
Establece los parámetros especificados e inicia la animación cinética.Sets the specified parameters and starts the kinetic animation. |
AnimationIsRunning(IAnimatable, String) |
Devuelve un valor booleano que indica si la animación que ha especificado |
Batch(IAnimatable) | |
GetPropertyIfSet<T>(BindableObject, BindableProperty, T) | |
SetAppThemeColor(BindableObject, BindableProperty, Color, Color) | |
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) |
Obsoleto.
Crea y aplica un enlace desde una expresión.Creates and applies a binding from an expression. |
SetOnAppTheme<T>(BindableObject, BindableProperty, T, T) | |
FindByName<T>(Element, String) |
Devuelve la instancia del tipo |
FindNextElement(ITabStopElement, Boolean, IDictionary<Int32,List<ITabStopElement>>, Int32) | |
GetSortedTabIndexesOnParentPage(VisualElement) | |
GetTabIndexesOnParentPage(ITabStopElement, Int32) | |
FadeTo(VisualElement, Double, UInt32, Easing) |
Devuelve una tarea que realiza la atenuación que describen los parámetros |
LayoutTo(VisualElement, Rectangle, UInt32, Easing) |
Devuelve una tarea que disminuye los límites del VisualElement especificado por la |
RelRotateTo(VisualElement, Double, UInt32, Easing) |
Gira el VisualElement especificado por |
RelScaleTo(VisualElement, Double, UInt32, Easing) |
Devuelve una tarea que escala el VisualElement especificado por |
RotateTo(VisualElement, Double, UInt32, Easing) |
Devuelve una tarea que realiza la rotación que describen los parámetros |
RotateXTo(VisualElement, Double, UInt32, Easing) |
Devuelve una tarea que sesga el eje Y por |
RotateYTo(VisualElement, Double, UInt32, Easing) |
Devuelve una tarea que sesga el eje X por |
ScaleTo(VisualElement, Double, UInt32, Easing) |
Devuelve una tarea que escala el VisualElement especificado por |
ScaleXTo(VisualElement, Double, UInt32, Easing) | |
ScaleYTo(VisualElement, Double, UInt32, Easing) | |
TranslateTo(VisualElement, Double, Double, UInt32, Easing) |
Anima las propiedades TranslationX y TranslationY de un elemento de sus valores actuales a los nuevos.Animates an elements TranslationX and TranslationY properties from their current values to the new values. Esto garantiza que el diseño de entrada está en la misma posición que el diseño visual.This ensures that the input layout is in the same position as the visual layout. |
HasVisualStateGroups(VisualElement) |
Devuelve |