/// <summary> /// Is the provided over a part of the view that wants the mouse. /// </summary> /// <param name="pt">Mouse point.</param> /// <returns>True if the view wants the mouse position; otherwise false.</returns> public override bool DesignerGetHitTest(Point pt) => // Check if any of the button specs want the point _headerGroup.DesignerGetHitTest(pt) || base.DesignerGetHitTest(pt);
/// <summary> /// Is the provided over a part of the view that wants the mouse. /// </summary> /// <param name="pt">Mouse point.</param> /// <returns>True if the view wants the mouse position; otherwise false.</returns> public override bool DesignerGetHitTest(Point pt) => // Check if the header group wants the mouse _headerGroup.DesignerGetHitTest(pt);