public DesignerGetHitTest ( Point pt ) : bool | ||
pt | Point | Mouse point. |
Résultat | bool |
/// <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 return(_headerGroup.DesignerGetHitTest(pt) || base.DesignerGetHitTest(pt)); // Let base class search individual stack items }
/// <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 return(_headerGroup.DesignerGetHitTest(pt)); }