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
Samarbeta med oss på GitHub
Källan för det här innehållet finns på GitHub, där du även kan skapa och granska ärenden och pull-begäranden. Se vår deltagarguide för mer information.