Skip to content

Latest commit

 

History

History
28 lines (18 loc) · 1.14 KB

uielement_onbringintoviewrequested_385089886.md

File metadata and controls

28 lines (18 loc) · 1.14 KB
-api-id -api-type
M:Windows.UI.Xaml.UIElement.OnBringIntoViewRequested(Windows.UI.Xaml.BringIntoViewRequestedEventArgs)
winrt method

Windows.UI.Xaml.UIElement.OnBringIntoViewRequested

-description

Called before the BringIntoViewRequested event occurs.

-parameters

-param e

The data for the event.

-remarks

As it's implemented directly on UIElement, OnBringIntoViewRequested has an empty implementation. But, an ancestor in an element's hierarchy may have provided an implementation such as a base scrolling control. You won't be able to see this implementation because it's internal native code. Control code or your code probably shouldn't be suppressing the event, because it's a common pattern to let the event bubble to the root visual so that any scrolling control in the element tree will have an opportunity to react to the request.

-see-also

BringIntoViewRequested

-examples