/// <summary> /// Moves the selected caption based on the mouseClickTime. /// </summary> /// <param name="mouseClickTime">The time represented by the mouse click location.</param> public void MoveSelectedCaption(double mouseClickTime) { //Move caption with a minimum time of 0 Caption.MoveTo(Math.Max(0, mouseClickTime - MouseClickTimeDifference)); }