void OnMouseDown(MouseDownEvent evt)
{
target.TakeCapture();
target.TakeMouseCapture();
m_Active = true;
evt.StopPropagation();
}
void OnMouseUp(MouseUpEvent evt)
m_Active = false;
target.ReleaseCapture();
target.ReleaseMouseCapture();