Version

ToolbarButton Constructor(ToolbarButtonType)

Creates a predefined ToolbarButton
Syntax
'Declaration
 
Public Function New( _
   ByVal type As ToolbarButtonType _
)
public ToolbarButton( 
   ToolbarButtonType type
)

Parameters

type
The ToolbarButtonType which is used to supply the proper default properties for the ToolbarButton.
Remarks

This constructor creates a ToolbarButton of the specified type and supplies it with the default values for the specified type. For example, if type == ToolbarButtonType.Bold, the properties would be as follows:

  • ToolbarButton.ImageName = "bold.gif"
  • etc...
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also