ShowContextMenuCommandArgs Class
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.
public ref class ShowContextMenuCommandArgs sealed : Microsoft::VisualStudio::Text::Editor::Commanding::EditorCommandArgs
public sealed class ShowContextMenuCommandArgs : Microsoft.VisualStudio.Text.Editor.Commanding.EditorCommandArgs
type ShowContextMenuCommandArgs = class
inherit EditorCommandArgs
Public NotInheritable Class ShowContextMenuCommandArgs
Inherits EditorCommandArgs
- Inheritance
Show |
Creates an instance of the ShowContextMenuCommandArgs to execute the command. |
Show |
Creates an empty instance of the ShowContextMenuCommandArgs, for the purpose of passing to the GetCommandState(T, Func<CommandState>) to determine the state of the command. |
Subject |
A subject buffer to execute a command on. (Inherited from EditorCommandArgs) |
Text |
An ITextView to execute a command on. (Inherited from EditorCommandArgs) |
X |
X coordinate for the context menu, optionally provided by the caller of the command. |
Y |
Y coordinate for the context menu, optionally provided by the caller of the command. |
Produit | Versions |
---|---|
Visual Studio SDK | 2019, 2022 |