ControlDesigner.OnContextMenu(Int32, Int32) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Shows the context menu and provides an opportunity to perform additional processing when the context menu is about to be displayed.
protected:
virtual void OnContextMenu(int x, int y);
protected virtual void OnContextMenu (int x, int y);
abstract member OnContextMenu : int * int -> unit
override this.OnContextMenu : int * int -> unit
Protected Overridable Sub OnContextMenu (x As Integer, y As Integer)
Parameters
- x
- Int32
The x coordinate at which to display the context menu.
- y
- Int32
The y coordinate at which to display the context menu.
Applies to
Tee yhteistyötä kanssamme GitHubissa
Tämän sisällön lähde on GitHubissa, jossa voit myös luoda ja tarkastella ongelmia ja pull-pyyntöjä. Katso lisätietoja osallistujan oppaasta.