Partager via


ScrollView.GetScrollPositionForElement Method

Definition

For internal use by the Microsoft.Maui.Controls platform.

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

Parameters

item
VisualElement

For internal use by the Microsoft.Maui.Controls platform.

pos
ScrollToPosition

For internal use by the Microsoft.Maui.Controls platform.

Returns

Implements

Applies to