ButtonDefinition(ImageMoniker, String, KeyGesture) Constructor
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.
Creates a new ButtonDefinition.
public:
ButtonDefinition(Microsoft::VisualStudio::Imaging::Interop::ImageMoniker imageMoniker, System::String ^ description, System::Windows::Input::KeyGesture ^ accessKey);
public ButtonDefinition (Microsoft.VisualStudio.Imaging.Interop.ImageMoniker imageMoniker, string description, System.Windows.Input.KeyGesture accessKey);
new Microsoft.VisualStudio.Language.NavigateTo.Interfaces.ButtonDefinition : Microsoft.VisualStudio.Imaging.Interop.ImageMoniker * string * System.Windows.Input.KeyGesture -> Microsoft.VisualStudio.Language.NavigateTo.Interfaces.ButtonDefinition
Public Sub New (imageMoniker As ImageMoniker, description As String, accessKey As KeyGesture)
Parameters
- imageMoniker
- ImageMoniker
The icon for the button.
- description
- String
The button's description (tooltip/automation).
- accessKey
- KeyGesture
The button's hot key.