SplitContainerControl.SplitterMoving Event

Occurs when the splitter's position is being changed.

Namespace: DevExpress.XtraEditors

Assembly: DevExpress.Utils.v20.1.dll


public event SplitMovingEventHandler SplitterMoving
Public Event SplitterMoving As SplitMovingEventHandler

Event Data

The SplitterMoving event's data class is DevExpress.XtraEditors.SplitMovingEventArgs.


The SplitterMoving event fires immediately after a SplitContainerControl's splitter is moved. Before the splitter is moved, the SplitContainerControl.BeginSplitterMoving event fires. This event indicates that an end-user has selected a splitter and is holding down the left mouse button. After the splitter is finally positioned, the SplitContainerControl.SplitterMoved event occurs.

You can use the SplitContainerControl.SplitterPosition property to get or set the splitter's location if it is not currently moving. To obtain a moving splitter's position, handle the SplitterMoving event and use the e.CurrectPosition value.

To specify whether a splitter can be dragged at runtime, use the SplitContainerControl.IsSplitterFixed property.

See Also