ScrollView.GetScrollPositionForElement Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.