Skip to main content

RangeControl.CenterRangeInViewPort(Boolean) Method

Scrolls the control so that the selected range is moved to as near the control’s center as possible.

Namespace: DevExpress.XtraEditors

Assembly: DevExpress.XtraEditors.v23.2.dll

NuGet Package: DevExpress.Win.Navigation

Declaration

[EditorBrowsable(EditorBrowsableState.Never)]
public void CenterRangeInViewPort(
    bool animated
)

Parameters

Name Type Description
animated Boolean

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

See Also