共用方式為


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 屬性的備註。

適用於

另請參閱