Represents a bar item with toggle button functionality.
public class BarCheckItem : BarBaseButtonItem, ISupportCommandBinding
Public Class BarCheckItem Inherits BarBaseButtonItem Implements ISupportCommandBinding
Related API Members
The following members accept/return BarCheckItem objects:
This class represents a bar button item with the check style applied. It introduces the BarCheckItem.Checked property that determines the item's pushed (check) state. A checked item's link appears sunken or highlighted relative to the other links. The appearance of a checked item's link is determined by the BarAndDockingController's look and feel settings which are accessible via the BarAndDockingController.LookAndFeel property.
If you create Bar Items in code, note that these objects may not function properly without being associated with a BarManager or RibbonControl. To create a Bar Item, use a Bar Item constructor that has the BarManager parameter. When creating a Bar Item in code for use within a RibbonControl, use a Bar Item constructor that has the BarManager parameter, and pass the RibbonControl.Manager object as this parameter.