IVsImageButton Interface
Draws an image on a button created by your VSPackage.
Namespace: Microsoft.VisualStudio.Shell.Interop
Assembly: Microsoft.VisualStudio.Shell.Interop.8.0 (in Microsoft.VisualStudio.Shell.Interop.8.0.dll)
Syntax
'Déclaration
<InterfaceTypeAttribute()> _
<GuidAttribute("61DF9CCE-E88E-4FE2-9976-77A4F478E24B")> _
Public Interface IVsImageButton
'Utilisation
Dim instance As IVsImageButton
[InterfaceTypeAttribute()]
[GuidAttribute("61DF9CCE-E88E-4FE2-9976-77A4F478E24B")]
public interface IVsImageButton
[InterfaceTypeAttribute()]
[GuidAttribute(L"61DF9CCE-E88E-4FE2-9976-77A4F478E24B")]
public interface class IVsImageButton
[<InterfaceTypeAttribute()>]
[<GuidAttribute("61DF9CCE-E88E-4FE2-9976-77A4F478E24B")>]
type IVsImageButton = interface end
public interface IVsImageButton
Remarks
This interface is implemented by the environment. The IVsImageButton interface displays a clickable image on a button in your VSPackage. A button with an image can appear as a standard button, a glyph, or breakpoint. Your VSPackage must have created the button with the BS_OWNERDRAW style.
Notes to Implementers
Implement this interface to draw a graphical image on a buttoncreated in your VSPackage.
Notes to Callers
Create a button with the BS_OWNERDRAW style, then call the IVsImageButton.Draw method with a properly initialized pDrawItemStruct parameter to draw the graphical image on the button.