UIElement.OnBringIntoViewRequested(BringIntoViewRequestedEventArgs) UIElement.OnBringIntoViewRequested(BringIntoViewRequestedEventArgs) UIElement.OnBringIntoViewRequested(BringIntoViewRequestedEventArgs) UIElement.OnBringIntoViewRequested(BringIntoViewRequestedEventArgs) Method

Definition

Called before the BringIntoViewRequested event occurs.

protected : virtual void OnBringIntoViewRequested(BringIntoViewRequestedEventArgs e)
virtual void OnBringIntoViewRequested(BringIntoViewRequestedEventArgs e) const;
protected virtual void OnBringIntoViewRequested(BringIntoViewRequestedEventArgs e)
Protected Overridable Sub OnBringIntoViewRequested(e As BringIntoViewRequestedEventArgs)
Parameters
Additional features and requirements
Device family
Windows 10, version 1803 (introduced v10.0.17134.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v6)

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 in the element tree will have an opportunity to react to the request.

See Also

  • E:Windows.UI.Xaml.UIElement.BringIntoViewRequested