public Cursor DesignGetHitTest(Point pt)
{
// Is the cursor inside the splitter area or if currently moving the splitter
if (_drawSeparator.ClientRectangle.Contains(pt) || _separatorController.IsMoving)
{
// Is the splitter allowed to be moved?
if (!Collapsed)
{
// Cursor depends on orientation direction
if (Orientation == Orientation.Vertical)
return Cursors.VSplit;
else
return Cursors.HSplit;
}
}
return null;
}