Skip to main content

SplitContainerControl.SplitterMoving Event

Occurs when the splitter’s position is being changed.

Namespace: DevExpress.XtraEditors

Assembly: DevExpress.Utils.v24.2.dll

Declaration

[DXCategory("Events")]
public event SplitMovingEventHandler SplitterMoving

Event Data

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

Remarks

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