Xceed SmartUI for WinForms v3.6 Documentation
Grouped Property (CheckMenuItem)


Xceed.SmartUI.Controls.v3.6 Assembly > Xceed.SmartUI.Controls.MenuBar Namespace > CheckMenuItem Class : Grouped Property
Gets or sets a boolean value if the menu item is part of a group.
Syntax
'Declaration
 
<DescriptionAttribute("Indicates if the menu item is part of a group.")>
<CategoryAttribute("Behavior")>
<DefaultValueAttribute()>
<BrowsableAttribute(True)>
<MergablePropertyAttribute(True)>
<LocalizableAttribute(False)>
Public Property Grouped As Boolean
'Usage
 
Dim instance As CheckMenuItem
Dim value As Boolean
 
instance.Grouped = value
 
value = instance.Grouped
[Description("Indicates if the menu item is part of a group.")]
[Category("Behavior")]
[DefaultValue()]
[Browsable(true)]
[MergableProperty(true)]
[Localizable(false)]
public bool Grouped {get; set;}

Property Value

true if the menu item is part of a group; false otherwise. By default, false.
Remarks

If the menu item is grouped, then it will react in the same manner as a radio button with all the other immediate menu items whose Grouped property is set to true.

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

CheckMenuItem Class
CheckMenuItem Members