ScrollViewer.SetBringIntoViewOnFocusChange(DependencyObject, Boolean) 方法

定义

设置指定元素上 BringIntoViewOnFocusChange 依赖属性/ ScrollViewer.BringIntoViewOnFocusChange XAML 附加属性的值。

public:
 static void SetBringIntoViewOnFocusChange(DependencyObject ^ element, bool bringIntoViewOnFocusChange);
 static void SetBringIntoViewOnFocusChange(DependencyObject const& element, bool const& bringIntoViewOnFocusChange);
public static void SetBringIntoViewOnFocusChange(DependencyObject element, bool bringIntoViewOnFocusChange);
function setBringIntoViewOnFocusChange(element, bringIntoViewOnFocusChange)
Public Shared Sub SetBringIntoViewOnFocusChange (element As DependencyObject, bringIntoViewOnFocusChange As Boolean)

参数

element
DependencyObject

要在其上设置属性值的元素。

bringIntoViewOnFocusChange
Boolean

bool

要设置的值。

注解

有关详细信息,请参阅 BringIntoViewOnFocusChange 属性的备注。

适用于

另请参阅