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

Declaration

public void CenterRangeInViewPort(
    bool animated
)
Public Sub CenterRangeInViewPort(
    animated As Boolean
)

Parameters

Name Type Description
animated Boolean

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

See Also