Control.GetChildAtPoint Control.GetChildAtPoint Control.GetChildAtPoint Control.GetChildAtPoint Method

Definición

Recupera el control secundario en una ubicación especificada.Retrieves the child control at a specified location.

Sobrecargas

GetChildAtPoint(Point) GetChildAtPoint(Point) GetChildAtPoint(Point) GetChildAtPoint(Point)

Recupera el control secundario ubicado en las coordenadas especificadas.Retrieves the child control that is located at the specified coordinates.

GetChildAtPoint(Point, GetChildAtPointSkip) GetChildAtPoint(Point, GetChildAtPointSkip) GetChildAtPoint(Point, GetChildAtPointSkip) GetChildAtPoint(Point, GetChildAtPointSkip)

Recupera el control secundario que se encuentra en las coordenadas especificadas, especificando si se omitirán determinados tipos de controles secundarios.Retrieves the child control that is located at the specified coordinates, specifying whether to ignore child controls of a certain type.

GetChildAtPoint(Point) GetChildAtPoint(Point) GetChildAtPoint(Point) GetChildAtPoint(Point)

Recupera el control secundario ubicado en las coordenadas especificadas.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);
member this.GetChildAtPoint : System.Drawing.Point -> System.Windows.Forms.Control
Public Function GetChildAtPoint (pt As Point) As Control

Parámetros

pt
Point Point Point Point

Point que contiene las coordenadas donde se desea buscar un control.A Point that contains the coordinates where you want to look for a control. Las coordenadas se expresan con relación a la esquina superior izquierda del área cliente del control.Coordinates are expressed relative to the upper-left corner of the control's client area.

Devoluciones

Control que representa al control ubicado en el punto especificado.A Control that represents the control that is located at the specified point.

Comentarios

Si no hay ningún control secundario en el punto especificado, el GetChildAtPoint devuelve del método null.If there is no child control at the specified point, the GetChildAtPoint method returns null.

Seguridad

UIPermission
para que todas las ventanas llamar a este método si el control devuelto no es un elemento secundario del control.for all windows to call this method if the control returned is not a child of the control. Enumeración asociada: AllWindows valor UIPermissionWindow.Associated enumeration: AllWindows value of UIPermissionWindow.

Consulte también:

GetChildAtPoint(Point, GetChildAtPointSkip) GetChildAtPoint(Point, GetChildAtPointSkip) GetChildAtPoint(Point, GetChildAtPointSkip) GetChildAtPoint(Point, GetChildAtPointSkip)

Recupera el control secundario que se encuentra en las coordenadas especificadas, especificando si se omitirán determinados tipos de controles secundarios.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);
member this.GetChildAtPoint : System.Drawing.Point * System.Windows.Forms.GetChildAtPointSkip -> System.Windows.Forms.Control
Public Function GetChildAtPoint (pt As Point, skipValue As GetChildAtPointSkip) As Control

Parámetros

pt
Point Point Point Point

Point que contiene las coordenadas donde se desea buscar un control.A Point that contains the coordinates where you want to look for a control. Las coordenadas se expresan con relación a la esquina superior izquierda del área cliente del control.Coordinates are expressed relative to the upper-left corner of the control's client area.

skipValue
GetChildAtPointSkip GetChildAtPointSkip GetChildAtPointSkip GetChildAtPointSkip

Uno de los valores de GetChildAtPointSkip, que determina si se omitirán determinados tipos de controles secundarios.One of the values of GetChildAtPointSkip, determining whether to ignore child controls of a certain type.

Devoluciones

Control secundario que se encuentra en las coordenadas especificadas.The child Control at the specified coordinates.

Se aplica a