Skip to main content

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.v24.1.dll

NuGet Package: DevExpress.Wpf.Core

Declaration

public bool BringChildIntoView(
    FrameworkElement child,
    bool allowAnimation = false
)

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