ComponentFactory.Krypton.Toolkit.ViewLeaf.ViewFromPoint C# (CSharp) Method

ViewFromPoint() public method

Find the view that contains the specified point.
public ViewFromPoint ( Point pt ) : ViewBase
pt Point Point in view coordinates.
return ViewBase
        public override ViewBase ViewFromPoint(Point pt)
        {
            if (ClientRectangle.Contains(pt))
                return this;
            else
                return null;
        }