System.Windows.Forms.Control.GetChildAtPoint C# (CSharp) Method

GetChildAtPoint() public method

public GetChildAtPoint ( Point pt ) : Control
pt Point
return Control
		public Control GetChildAtPoint (Point pt)
		{
			return GetChildAtPoint (pt, GetChildAtPointSkip.None);
		}

Same methods

Control::GetChildAtPoint ( Point pt, GetChildAtPointSkip skipValue ) : Control

Usage Example

 private bool WasNotClickedOnTarget(Control parent, Control target)
 {
     Control clickedOn = parent.GetChildAtPoint(Cursor.Position);
     if (IsNull(clickedOn)) return true;
     if (AreEqual(clickedOn, target)) return false;
     return true;
 }
All Usage Examples Of System.Windows.Forms.Control::GetChildAtPoint
Control