Xceed SmartUI for WinForms v3.6 Documentation
PreferredSmartItemTypes Property (SmartToolBar)


Xceed.SmartUI.Controls.v3.6 Assembly > Xceed.SmartUI.Controls.ToolBar Namespace > SmartToolBar Class : PreferredSmartItemTypes Property
Gets the types of the child SmartItems which can be added at design-time to the SmartToolBar.
Syntax
'Declaration
 
Protected Overrides ReadOnly Property PreferredSmartItemTypes As Type()
'Usage
 
Dim instance As SmartToolBar
Dim value() As Type
 
value = instance.PreferredSmartItemTypes
protected override Type[] PreferredSmartItemTypes {get;}

Property Value

An array containing the types of the child SmartItems which can be added at design-time to the SmartToolBar. Unless overridden, Tool, CheckTool, LabelTool, MenuTool, MixedTool, SeparatorTool, TextBoxTool and ComboBoxTool.
Remarks

The first Xceed.SmartUI.SmartItem in the array is the "default" SmartItem. The default SmartItem is the item that is added to the SmartControl when the "New item" placeholder is double-clicked.

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

SmartToolBar Class
SmartToolBar Members
Base Implementation in PreferredSmartItemTypes
ExcludedSmartItemTypes Property