共用方式為


DocumentViewer.OnBringIntoView(DependencyObject, Rect, Int32) 方法

定義

protected:
 override void OnBringIntoView(System::Windows::DependencyObject ^ element, System::Windows::Rect rect, int pageNumber);
protected override void OnBringIntoView (System.Windows.DependencyObject element, System.Windows.Rect rect, int pageNumber);
override this.OnBringIntoView : System.Windows.DependencyObject * System.Windows.Rect * int -> unit
Protected Overrides Sub OnBringIntoView (element As DependencyObject, rect As Rect, pageNumber As Integer)

參數

element
DependencyObject

要設定為可見的物件。

rect
Rect

要使其可見的 element 矩形區域。

pageNumber
Int32

要檢視的頁面頁碼。

備註

基底實作會將主版頁面移至元素髮生所在的頁面。

適用於