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


    Checked Property (CheckMenuItem)
    Gets or set a value indicating whether the SmartItem is in the checked state.
    Syntax
    'Declaration
     
    <DescriptionAttribute("Indicates whether the SmartItem is in a checked state.")>
    <CategoryAttribute("Appearance")>
    <DefaultValueAttribute(False)>
    <BrowsableAttribute(True)>
    <MergablePropertyAttribute(True)>
    <LocalizableAttribute(False)>
    Public Property Checked As Boolean
     
    'Usage
     
    Dim instance As CheckMenuItem
    Dim value As Boolean
     
    instance.Checked = value
     
    value = instance.Checked

    Property Value

    true if the SmartItem is in a checked state; false otherwise. By default, false.
    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