Partager via


IScrollViewController.GetScrollPositionForElement Method

Definition

public:
 Microsoft::Maui::Graphics::Point GetScrollPositionForElement(Microsoft::Maui::Controls::VisualElement ^ item, Microsoft::Maui::Controls::ScrollToPosition position);
public Microsoft.Maui.Graphics.Point GetScrollPositionForElement (Microsoft.Maui.Controls.VisualElement item, Microsoft.Maui.Controls.ScrollToPosition position);
abstract member GetScrollPositionForElement : Microsoft.Maui.Controls.VisualElement * Microsoft.Maui.Controls.ScrollToPosition -> Microsoft.Maui.Graphics.Point
Public Function GetScrollPositionForElement (item As VisualElement, position As ScrollToPosition) As Point

Parameters

position
ScrollToPosition

Returns

Applies to