ToolBarButton(ImageSource, String, String, styleType, Boolean, Boolean, ImageSource, ImageSource) Constructor

Standard constructor.
Public Sub New( _ 
ByVal buttonImage As ImageSource, _ 
ByVal name As String, _ 
ByVal toolTipText As String, _ 
ByVal style As styleType, _ 
ByVal visible As Boolean, _ 
ByVal enabled As Boolean, _ 
ByVal downImage As ImageSource, _ 
ByVal hoverImage As ImageSource
)
This language is not supported or no code example is available.
public ToolBarButton( 
ImageSource buttonImage
string name
string toolTipText
styleType style
bool visible
bool enabled
ImageSource downImage
ImageSource hoverImage 
)
This language is not supported or no code example is available.

Parameters

buttonImage
ImageSource

The ToolBarButton image

name
string

The ToolBarButton name

toolTipText
string

The ToolBarButton tooltip text

style
styleType

The ToolBarButton style mode

visible
bool

The ToolBarButton visibility status

enabled
bool

The ToolBarButton enabled status

downImage
ImageSource

The ToolBarButton bitmap for the down state (optional)

hoverImage
ImageSource

The ToolBarButton bitmap for the mouse hover state (optional)

.NET Framework

Supported in: 4.5, 4.6, 4.7

In this article

Definition