Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

RequestBringIntoViewEventArgs Class

Provides data for the FrameworkElement.RequestBringIntoView routed event.

Namespace:  System.Windows
Assembly:  PresentationFramework (in PresentationFramework.dll)
public class RequestBringIntoViewEventArgs : RoutedEventArgs
You cannot directly create an instance of this class in XAML.

The FrameworkElement.RequestBringIntoView event is raised by elements when you call BringIntoView from that element. Generally, this routed event is not handled by the source. Intermediate classes that do not implement scrollable regions or similar concepts that clip content should not handle the event. The event should be permitted to bubble to parent elements that implement a scrollable region or otherwise specify ClipToBounds false. Such parent elements typically provide class handling for the RequestBringIntoView event, which is where the necessary rendering logic occurs whenever a given element requests that it be made viewable within the clipping region.

Content elements can cause the event to be raised by their content hosts (through calling BringIntoView and raising FrameworkElement.RequestBringIntoView from the content host). Similarly, you can request logical tree elements to be brought into view with the helper method LogicalTreeHelper.BringIntoView.

A ListBox implements a related but different method ScrollIntoView.

System.Object
  System.EventArgs
    System.Windows.RoutedEventArgs
      System.Windows.RequestBringIntoViewEventArgs
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Windows 7, Windows Vista, Windows XP SP2, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003

The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

.NET Framework

Supported in: 3.5, 3.0
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.