Xceed SmartUI for WinForms v3.6 Documentation
CanBeSelected Property (MenuItem)


Xceed.SmartUI.Controls.v3.6 Assembly > Xceed.SmartUI.Controls.MenuBar Namespace > MenuItem Class : CanBeSelected Property
Gets a boolean value indicating if the SmartItem can be selected.
Syntax
'Declaration
 
Public Overrides ReadOnly Property CanBeSelected As Boolean
'Usage
 
Dim instance As MenuItem
Dim value As Boolean
 
value = instance.CanBeSelected
public override bool CanBeSelected {get;}

Property Value

true if the SmartItem can be selected; false otherwise.
Remarks

To determine which item is currently selected, the Xceed.SmartUI.SmartControl.SelectedItem property can be consulted.

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

MenuItem Class
MenuItem Members
Base Implementation in CanBeSelected