UIElement.OnBringIntoViewRequested(BringIntoViewRequestedEventArgs) Method
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.
Called before the BringIntoViewRequested event occurs.
protected:
virtual void OnBringIntoViewRequested(BringIntoViewRequestedEventArgs ^ e) = OnBringIntoViewRequested;
void OnBringIntoViewRequested(BringIntoViewRequestedEventArgs const& e);
protected virtual void OnBringIntoViewRequested(BringIntoViewRequestedEventArgs e);
function onBringIntoViewRequested(e)
Protected Overridable Sub OnBringIntoViewRequested (e As BringIntoViewRequestedEventArgs)
The data for the event.
Device family |
Windows 10, version 1803 (introduced in 10.0.17134.0)
|
API contract |
Windows.Foundation.UniversalApiContract (introduced in v6.0)
|
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.
Product | Versions |
---|---|
WinRT | Build 17134, Build 17763, Build 18362, Build 19041, Build 20348, Build 22000, Build 22621, Build 26100 |