Xceed SmartUI for WinForms v3.6 Documentation
MenuTool Constructor(Int32)


Xceed.SmartUI.Controls.v3.6 Assembly > Xceed.SmartUI.Controls.ToolBar Namespace > MenuTool Class > MenuTool Constructor : MenuTool Constructor(Int32)
The index of the image displayed by the SmartItem.
Initializes a new instance of the MenuTool class specifying its Xceed.SmartUI.SmartItem.ImageIndex.
Syntax
'Declaration
 
Public Function New( _
   ByVal imageIndex As Integer _
)
'Usage
 
Dim imageIndex As Integer
 
Dim instance As New MenuTool(imageIndex)
public MenuTool( 
   int imageIndex
)

Parameters

imageIndex
The index of the image displayed by the SmartItem.
Requirements

Target Platforms: 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

Reference

MenuTool Class
MenuTool Members
Overload List