Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

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.2.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