Share via


ActionsPane.GetChildAtPoint Method

Definition

Retrieves the child control at a specified location.

Overloads

GetChildAtPoint(Point)

Retrieves the child control that is located at the specified coordinates.

GetChildAtPoint(Point, GetChildAtPointSkip)

Retrieves the child control that is located at the specified coordinates, specifying whether to ignore child controls of a certain type.

Remarks

This method provides the same functionality as the System.Windows.Forms.Control.GetChildAtPoint method. For more information about using this method, see System.Windows.Forms.Control.GetChildAtPoint.

GetChildAtPoint(Point)

Retrieves the child control that is located at the specified coordinates.

public:
 System::Windows::Forms::Control ^ GetChildAtPoint(System::Drawing::Point pt);
public System.Windows.Forms.Control GetChildAtPoint (System.Drawing.Point pt);
abstract member GetChildAtPoint : System.Drawing.Point -> System.Windows.Forms.Control
Public Function GetChildAtPoint (pt As Point) As Control

Parameters

pt
Point

A Point that contains the coordinates where you want to look for a control. Coordinates are expressed relative to the upper-left corner of the actions pane's client area.

Returns

A Control that represents the control that is located at the specified point.

Remarks

This method provides the same functionality as the System.Windows.Forms.Control.GetChildAtPoint(Point) method. For more information about using this method, see System.Windows.Forms.Control.GetChildAtPoint(Point).

Applies to

GetChildAtPoint(Point, GetChildAtPointSkip)

Retrieves the child control that is located at the specified coordinates, specifying whether to ignore child controls of a certain type.

public:
 System::Windows::Forms::Control ^ GetChildAtPoint(System::Drawing::Point pt, System::Windows::Forms::GetChildAtPointSkip skipValue);
public System.Windows.Forms.Control GetChildAtPoint (System.Drawing.Point pt, System.Windows.Forms.GetChildAtPointSkip skipValue);
abstract member GetChildAtPoint : System.Drawing.Point * System.Windows.Forms.GetChildAtPointSkip -> System.Windows.Forms.Control
Public Function GetChildAtPoint (pt As Point, skipValue As GetChildAtPointSkip) As Control

Parameters

pt
Point

A Point that contains the coordinates where you want to look for a control. Coordinates are expressed relative to the upper-left corner of the actions pane's client area.

skipValue
GetChildAtPointSkip

One of the values of GetChildAtPointSkip, determining whether to ignore child controls of a certain type.

Returns

The child Control at the specified coordinates.

Remarks

This method provides the same functionality as the System.Windows.Forms.Control.GetChildAtPoint method. For more information about using this method, see System.Windows.Forms.Control.GetChildAtPoint.

Applies to