Back to Devexpress

ScrollControl.BringChildIntoView(FrameworkElement, Boolean) Method

wpf-devexpress-dot-xpf-dot-core-dot-scrollcontrol-dot-bringchildintoview-x28-system-dot-windows-dot-frameworkelement-system-dot-boolean-x29.md

latest1.7 KB
Original Source

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

NuGet Package : DevExpress.Wpf.Core

Declaration

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

Parameters

NameTypeDescription
childFrameworkElement

A FrameworkElement object to be made visible.

|

Optional Parameters

NameTypeDefaultDescription
allowAnimationBooleanFalse

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

|

Returns

TypeDescription
Boolean

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

|

See Also

ScrollControl Class

ScrollControl Members

DevExpress.Xpf.Core Namespace