HwndSourceParameters.SetPosition(Int32, Int32) 方法

定義

設定用於 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)

參數

x
Int32

視窗左邊緣的位置。

y
Int32

視窗上邊緣的位置。

適用於

另請參閱