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. ScrollViewer接著會將標示RequestBringIntoView為已處理,所使用之事件的類別處理的事件。The ScrollViewer will then mark the RequestBringIntoView event as handled, by using class handling of the event. 一般而言RequestBringIntoView事件的資料應該不會標示為已處理的未控制的捲動區域,任何類別或任何執行個體處理常式,因為這樣會干擾呼叫的項目,目的是BringIntoViewIn 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

適用於

另請參閱