Xceed SmartUI for WinForms v3.6 Documentation
Xceed.SmartUI.Controls.v3.6 Assembly / Xceed.SmartUI.Controls.MenuBar Namespace / CheckMenuItem Class / Grouped Property


In This Topic
    Grouped Property (CheckMenuItem)
    In This Topic
    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(False)>
    <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(false)]
    [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