AxHost.RaiseOnMouseUp 方法
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
引發 MouseUp 事件。
RaiseOnMouseUp(Int16, Int16, Int32, Int32) |
使用指定的 32 位元帶正負號的整數 (Signed Integer),引發 MouseUp 事件。 |
RaiseOnMouseUp(Int16, Int16, Single, Single) |
使用指定的單精度浮點數來引發 MouseUp 事件。 |
RaiseOnMouseUp(Object, Object, Object, Object) |
使用指定的物件來引發 MouseUp 事件。 |
- 來源:
- AxHost.cs
- 來源:
- AxHost.cs
- 來源:
- AxHost.cs
使用指定的 32 位元帶正負號的整數 (Signed Integer),引發 MouseUp 事件。
protected:
void RaiseOnMouseUp(short button, short shift, int x, int y);
C#
protected void RaiseOnMouseUp(short button, short shift, int x, int y);
member this.RaiseOnMouseUp : int16 * int16 * int * int -> unit
Protected Sub RaiseOnMouseUp (button As Short, shift As Short, x As Integer, y As Integer)
參數
- button
- Int16
其中一個 MouseButtons 值,表示所按下的滑鼠按鍵。
- shift
- Int16
未使用。
- x
- Int32
按一下滑鼠時的 X 座標 (以像素為單位)。
- y
- Int32
按一下滑鼠時的 Y 座標 (以像素為單位)。
適用於
.NET Framework 4.8.1 及其他版本
產品 | 版本 |
---|---|
.NET Framework | 1.1, 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1 |
Windows Desktop | 3.0, 3.1, 5, 6, 7, 8, 9, 10 |
- 來源:
- AxHost.cs
- 來源:
- AxHost.cs
- 來源:
- AxHost.cs
使用指定的單精度浮點數來引發 MouseUp 事件。
protected:
void RaiseOnMouseUp(short button, short shift, float x, float y);
C#
protected void RaiseOnMouseUp(short button, short shift, float x, float y);
member this.RaiseOnMouseUp : int16 * int16 * single * single -> unit
Protected Sub RaiseOnMouseUp (button As Short, shift As Short, x As Single, y As Single)
參數
- button
- Int16
其中一個 MouseButtons 值,表示所按下的滑鼠按鍵。
- shift
- Int16
未使用。
- x
- Single
按一下滑鼠時的 X 座標 (以像素為單位)。
- y
- Single
按一下滑鼠時的 Y 座標 (以像素為單位)。
適用於
.NET Framework 4.8.1 及其他版本
產品 | 版本 |
---|---|
.NET Framework | 1.1, 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1 |
Windows Desktop | 3.0, 3.1, 5, 6, 7, 8, 9, 10 |
- 來源:
- AxHost.cs
- 來源:
- AxHost.cs
- 來源:
- AxHost.cs
使用指定的物件來引發 MouseUp 事件。
protected:
void RaiseOnMouseUp(System::Object ^ o1, System::Object ^ o2, System::Object ^ o3, System::Object ^ o4);
C#
protected void RaiseOnMouseUp(object o1, object o2, object o3, object o4);
member this.RaiseOnMouseUp : obj * obj * obj * obj -> unit
Protected Sub RaiseOnMouseUp (o1 As Object, o2 As Object, o3 As Object, o4 As Object)
參數
- o1
- Object
其中一個 MouseButtons 值,表示所按下的滑鼠按鍵。
- o2
- Object
未使用。
- o3
- Object
按一下滑鼠時的 X 座標 (以像素為單位)。
- o4
- Object
按一下滑鼠時的 Y 座標 (以像素為單位)。
適用於
.NET Framework 4.8.1 及其他版本
產品 | 版本 |
---|---|
.NET Framework | 1.1, 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1 |
Windows Desktop | 3.0, 3.1, 5, 6, 7, 8, 9, 10 |