FrameworkElement.RequestBringIntoView FrameworkElement.RequestBringIntoView FrameworkElement.RequestBringIntoView FrameworkElement.RequestBringIntoView Event

定義

在這個項目上呼叫 BringIntoView(Rect) 時發生。Occurs when BringIntoView(Rect) is called on this element.

public:
 event System::Windows::RequestBringIntoViewEventHandler ^ RequestBringIntoView;
public event System.Windows.RequestBringIntoViewEventHandler RequestBringIntoView;
member this.RequestBringIntoView : System.Windows.RequestBringIntoViewEventHandler 
Public Custom Event RequestBringIntoView As RequestBringIntoViewEventHandler 

備註

這個事件會向父系ScrollViewer (或衍生類別) 指示, RequestBringIntoView引發事件的元素應該在可捲動區域內顯示。This event indicates to a parent ScrollViewer (or derived class) that the element that raises the RequestBringIntoView event should be made visible within the scrollable region. 接著會使用事件的RequestBringIntoView類別處理, 將事件標示為已處理。 ScrollViewerThe ScrollViewer will then mark the RequestBringIntoView event as handled, by using class handling of the event. 在一般RequestBringIntoView事件資料中, 不應該由任何控制捲動區域或任何實例處理常式的類別來標示為已處理, 因為這樣做會影響呼叫BringIntoView之專案的目標。In general RequestBringIntoView event data should not be marked handled by any class that does control a scrolling region, or by any instance handler, because doing so would interfere with the intended goal of the element that called BringIntoView.

路由事件資訊Routed Event Information

識別碼欄位Identifier field RequestBringIntoViewEvent
路由策略Routing strategy 路由Bubbling
Delegate - 委派Delegate RequestBringIntoViewEventHandler

適用於

另請參閱