Edit

Share via


HwndSourceParameters.SetPosition(Int32, Int32) Method

Definition

Sets the values that are used for the screen position of the window for the HwndSource.

public:
 void SetPosition(int x, int y);
public void SetPosition (int x, int y);
member this.SetPosition : int * int -> unit
Public Sub SetPosition (x As Integer, y As Integer)

Parameters

x
Int32

The position of the left edge of the window.

y
Int32

The position of the upper edge of the window.

Applies to

See also