FrameworkContentElement.BringIntoView 方法

定义

尝试将此元素放入其所在的任何可滚动区域内的视图中。

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

注解

通过调用此方法,可以有效地调用 MakeVisible 包含父级 (元素的任何父可滚动区域, FrameworkElement而不是 FrameworkContentElement) 。 如果此元素不包含在可滚动区域中,则仍会引发该事件,但不会产生任何效果。

适用于

另请参阅