FrameworkContentElement.BringIntoView 方法

定義

在內含此項目的任何可捲動區域內,嘗試將此項目帶入檢視。

public:
 void BringIntoView();
public void BringIntoView ();
member this.BringIntoView : unit -> unit
Public Sub BringIntoView ()

備註

藉由呼叫這個方法,您實際上會在包含元素的任何父捲動區域中呼叫 MakeVisible , (父代可能是 FrameworkElement ,而不是 FrameworkContentElement) 。 如果此元素未包含在可捲動區域中,事件仍會引發,但不會有任何作用。

適用於

另請參閱