Sdílet prostřednictvím


ScrollViewer.SetBringIntoViewOnFocusChange(DependencyObject, Boolean) Method

Definition

Sets the value of the BringIntoViewOnFocusChange dependency property / ScrollViewer.BringIntoViewOnFocusChange XAML attached property on a specified element.

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)

Parameters

element
DependencyObject

The element on which to set the property value.

bringIntoViewOnFocusChange
Boolean

bool

The value to set.

Remarks

For more info, see Remarks for the BringIntoViewOnFocusChange property.

Applies to

See also