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

NOTE: This member is now obsolete. This constructor is deprecated.

Deprecated 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, _ 
ByVal disabledImage As ImageSource, _ 
ByVal disabledDownImage 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
ImageSource disabledImage
ImageSource disabledDownImage 
)
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)

disabledImage
ImageSource

The ToolBarButton bitmap for the disabled state (DEPRECATED)

disabledDownImage
ImageSource

The ToolBarButton bitmap for the disabled down state (DEPRECATED)

.NET Framework

Supported in: 4.5, 4.6, 4.7

In this article

Definition