ScrollableControl.SetDisplayRectLocation(Int32, Int32) Método
Definición
Sitúa la ventana de presentación en el valor especificado.Positions the display window to the specified value.
protected:
void SetDisplayRectLocation(int x, int y);
protected void SetDisplayRectLocation (int x, int y);
member this.SetDisplayRectLocation : int * int -> unit
Protected Sub SetDisplayRectLocation (x As Integer, y As Integer)
Parámetros
- x
- Int32
El desplazamiento horizontal en el que se sitúa el control ScrollableControl.The horizontal offset at which to position the ScrollableControl.
- y
- Int32
El desplazamiento vertical en el que se sitúa el control ScrollableControl.The vertical offset at which to position the ScrollableControl.
Comentarios
Si la AutoScroll propiedad se establece en true
, la DisplayRectangle propiedad es el área de cliente que muestra el ScrollableControltamaño virtual y la posición del.If the AutoScroll property is set to true
, the DisplayRectangle property is the virtual size and position displayed client area of the ScrollableControl. Llame al ScrollableControl método para desplazarse por el hasta la posición especificada. SetDisplayRectLocationCall the SetDisplayRectLocation method to scroll through the ScrollableControl to the specified position.