Exporter (0) Imprimer
Développer tout

RequestBringIntoViewEventArgs, classe

Provides data for the FrameworkElement.RequestBringIntoView routed event.

Espace de noms: System.Windows
Assembly : PresentationFramework (dans presentationframework.dll)
Espace de noms XML :  http://schemas.microsoft.com/winfx/2006/xaml/presentation

public class RequestBringIntoViewEventArgs : RoutedEventArgs
public class RequestBringIntoViewEventArgs extends RoutedEventArgs
public class RequestBringIntoViewEventArgs extends RoutedEventArgs
Vous ne pouvez pas utiliser cette classe managée dans 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

Les membres statiques publics (Shared en Visual Basic) de ce type sont thread-safe. Il n'est pas garanti que les membres d'instance soient thread-safe.

Microsoft .NET Framework 3.0 est pris en charge sur Windows Vista, Microsoft Windows XP SP2 et Windows Server 2003 SP1.

.NET Framework

Prise en charge dans : 3.0

Ajouts de la communauté

AJOUTER
Afficher:
© 2014 Microsoft