ScrollControl.BringChildIntoView(FrameworkElement, Boolean) Method

Scrolls the control to make the specified child visible, with or without an animation effect.

Namespace: DevExpress.Xpf.Core

Assembly: DevExpress.Xpf.Core.v20.1.dll

Declaration

public bool BringChildIntoView(
    FrameworkElement child,
    bool allowAnimation = false
)
Public Function BringChildIntoView(
    child As FrameworkElement,
    allowAnimation As Boolean = False
) As Boolean

Parameters

Name Type Description
child FrameworkElement

A FrameworkElement object to be made visible.

Optional Parameters

Name Type Default Description
allowAnimation Boolean

False

true to scroll using an animation effect ; otherwise, false.

Returns

Type Description
Boolean

true if the operation was a success; otherwise, false.

See Also