Export (0) Print
Expand All

RequestBringIntoViewEventArgs Class

Provides data for the FrameworkElement.RequestBringIntoView routed event.

Namespace: System.Windows
Assembly: PresentationFramework (in presentationframework.dll)
XML Namespace:  http://schemas.microsoft.com/winfx/2006/xaml/presentation

public class RequestBringIntoViewEventArgs : RoutedEventArgs
public class RequestBringIntoViewEventArgs extends RoutedEventArgs
public class RequestBringIntoViewEventArgs extends RoutedEventArgs
You cannot use this managed 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 98, Windows Server 2000 SP4, Windows CE, Windows Millennium Edition, Windows Mobile for Pocket PC, Windows Mobile for Smartphone, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0

Community Additions

ADD
Show:
© 2014 Microsoft