Bar

BarCheckItem Class

Represents a bar item with toggle button functionality.

Namespace: DevExpress.XtraBars

Assembly: DevExpress.XtraBars.v20.1.dll

Declaration

public class BarCheckItem :
    BarBaseButtonItem,
    ISupportCommandBinding
Public Class BarCheckItem
    Inherits BarBaseButtonItem
    Implements ISupportCommandBinding

Related API Members

The following members accept/return BarCheckItem objects:

Remarks

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.

BarCheckItem_Checked

NOTE

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.

See Also