public void AbortMoving()
{
// If currently trying to move the splitter
if (_moving)
{
// Exit the capturing state
_moving = false;
Captured = false;
// Remove the capturing of mouse input messages
if (_source.SeparatorControl.Capture)
_source.SeparatorControl.Capture = false;
// Remove the message filter, as long as it is registered
// it will prevent the class from being garbage collected.
UnregisterFilter();
// Remove any showing separator indicator
DrawSeparatorRemoved();
// Redraw the new state
UpdateTargetState(_source.SeparatorControl);
// Inform that the separator movement was finished without moving
_source.SeparatorNotMoved();
}
}