ComponentFromPoint() public method

Is the provided point associated with a component.
public ComponentFromPoint ( Point pt ) : Component
pt Point Mouse point.
return System.ComponentModel.Component
Beispiel #1
0
        public Component DesignerComponentFromPoint(Point pt)
        {
            // Ignore call as view builder is already destructed
            if (IsDisposed)
                return null;

            // Ask the current view for a decision
            return ViewManager.ComponentFromPoint(pt);
        }
Beispiel #2
0
        internal Component DesignerComponentFromPoint(Point pt)
        {
            // Ignore call as view builder is already destructed
            if (IsDisposed)
            {
                return(null);
            }

            // Ask the current view for a decision
            return(ViewManager.ComponentFromPoint(pt));
        }