Share via


ScrollToRequestedEventArgs Class

Definition

Event arguments for scroll-to requests on scrollable views.

public ref class ScrollToRequestedEventArgs : EventArgs, Microsoft::Maui::Controls::ITemplatedItemsListScrollToRequestedEventArgs
public class ScrollToRequestedEventArgs : EventArgs, Microsoft.Maui.Controls.ITemplatedItemsListScrollToRequestedEventArgs
type ScrollToRequestedEventArgs = class
    inherit EventArgs
    interface ITemplatedItemsListScrollToRequestedEventArgs
Public Class ScrollToRequestedEventArgs
Inherits EventArgs
Implements ITemplatedItemsListScrollToRequestedEventArgs
Inheritance
ScrollToRequestedEventArgs
Implements

Properties

Name Description
Element

Gets the element to scroll to when Mode is Element.

Mode

Gets how the scroll request should be interpreted.

Position

Gets the desired final position of the target within the viewport.

ScrollX

Gets the target horizontal scroll position when Mode is Position.

ScrollY

Gets the target vertical scroll position when Mode is Position.

ShouldAnimate

Gets whether the scroll should be animated.

Methods

Name Description
ToRequest()

Explicit Interface Implementations

Name Description
ITemplatedItemsListScrollToRequestedEventArgs.Group
ITemplatedItemsListScrollToRequestedEventArgs.Item

Applies to