Partilhar via


ButtonDefinition(ImageMoniker, String, KeyGesture) Constructor

Definition

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.

Applies to