The CheckMenuItem SmartItem is one of the preferred SmartItems for the SmartMenuBar SmartControl and is designed to be used as a checkbox menu item.
Although the CheckMenuItem SmartItem is one of the SmartMenuBar's preferred SmartItems, it can also be used with any other SmartControl.
Preferred sibling SmartItems
The following table provides a list of the preferred sibling SmartItems:
Preferred sibling SmartItem | Description |
---|---|
MainMenuItem SmartItem | Represents a SmartItem designed to be used as a main menu item for the SmartMenuBar SmartControl. |
MenuItem SmartItem | Represents a SmartItem designed to be used as a basic menu item for the SmartMenuBar SmartControl. |
PopupMenuItem SmartItem | Represents a SmartItem designed to be used as a popup menu for the SmartMenuBar SmartControl. |
SeparatorMenuItem SmartItem | Represents a SmartItem designed to be used as a separator for the SmartMenuBar SmartControl. |
Things you should consider
-
Do you want to check the CheckMenuItem? Set its Checked property to true.
-
Do you want to group various CheckMenuItems together? Set their Grouped property to true. All consecutive CheckMenuItems whose Grouped property is set to true will have the same behavior as a radio button.
-
Do you want a menu item to be hidden when it is not commonly used? Set its OnlyInExtendMode property to true.
-
Do you want to prevent a SmartItem from being selected? Set its CanBeSelected property to false.
-
Do you want to display an image? Set the item's Image or ImageIndex property.