UIElement.StartBringIntoView Method
Definition
Overloads
StartBringIntoView() |
Initiates a request to the XAML framework to bring the element into view within any scrollable regions it is contained within. Equivalent WinUI method: Microsoft.UI.Xaml.UIElement.StartBringIntoView. |
StartBringIntoView(BringIntoViewOptions) |
Initiates a request to the XAML framework to bring the element into view using the specified options. Equivalent WinUI method: Microsoft.UI.Xaml.UIElement.StartBringIntoView. |
StartBringIntoView()
Initiates a request to the XAML framework to bring the element into view within any scrollable regions it is contained within.
Equivalent WinUI method: Microsoft.UI.Xaml.UIElement.StartBringIntoView.
public:
virtual void StartBringIntoView() = StartBringIntoView;
/// [Windows.Foundation.Metadata.Overload("StartBringIntoView")]
void StartBringIntoView();
[Windows.Foundation.Metadata.Overload("StartBringIntoView")]
public void StartBringIntoView();
function startBringIntoView()
Public Sub StartBringIntoView ()
- Attributes
Windows 10 requirements
Device family |
Windows 10 Creators Update (introduced in 10.0.15063.0)
|
API contract |
Windows.Foundation.UniversalApiContract (introduced in v4.0)
|
Remarks
The request is fulfilled asynchronously as the framework initiates changes to the view of ScrollViewer s that contain the element. The HorizontalOffset and VerticalOffset of those ScrollViewers may not be updated immediately upon returning from the call. However, in the process of servicing the request a ScrollViewer's ViewChanging and ViewChanged events will fire. If you use the signature that does not specify any options, then the entire element size (its RenderSize ) will be made visible and any changes to the viewports will be animated. The StartBringIntoView method does not transmit any information about success or failure. Reasons for failure can include the element settings, such as Visibility being some value other than Visible.
See also
Applies to
StartBringIntoView(BringIntoViewOptions)
Initiates a request to the XAML framework to bring the element into view using the specified options.
Equivalent WinUI method: Microsoft.UI.Xaml.UIElement.StartBringIntoView.
public:
virtual void StartBringIntoView(BringIntoViewOptions ^ options) = StartBringIntoView;
/// [Windows.Foundation.Metadata.Overload("StartBringIntoViewWithOptions")]
void StartBringIntoView(BringIntoViewOptions const & options);
[Windows.Foundation.Metadata.Overload("StartBringIntoViewWithOptions")]
public void StartBringIntoView(BringIntoViewOptions options);
function startBringIntoView(options)
Public Sub StartBringIntoView (options As BringIntoViewOptions)
Parameters
- options
- BringIntoViewOptions
An instance of BringIntoViewOptions.
- Attributes
Windows 10 requirements
Device family |
Windows 10 Creators Update (introduced in 10.0.15063.0)
|
API contract |
Windows.Foundation.UniversalApiContract (introduced in v4.0)
|