ListBox.ScrollIntoView(Object) 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.
Causes the object to scroll into view.
public:
virtual void ScrollIntoView(Platform::Object ^ item) = ScrollIntoView;
void ScrollIntoView(IInspectable const& item);
public void ScrollIntoView(object item);
function scrollIntoView(item)
Public Sub ScrollIntoView (item As Object)
Parameters
- item
-
Object
Platform::Object
IInspectable
The object to scroll to.
Remarks
When the contents of the ItemsSource collection changes, particularly if many items are added to or removed from the collection, you might need to call UpdateLayout prior to calling ScrollIntoView for the specified item to scroll into the viewport.
Applies to
Váš názor
https://aka.ms/ContentUserFeedback.
Připravujeme: V průběhu roku 2024 budeme postupně vyřazovat problémy z GitHub coby mechanismus zpětné vazby pro obsah a nahrazovat ho novým systémem zpětné vazby. Další informace naleznete v tématu:Odeslat a zobrazit názory pro