Combines a checkbox and dropdown buttons in one item.
public class BarSplitCheckItem : BarSplitButtonItem, IBarCheckItem
Public Class BarSplitCheckItem Inherits BarSplitButtonItem Implements IBarCheckItem
The BarSplitCheckItem supports the drop-down functionality, displaying a drop-down window when clicking the item link. The BarSplitCheckItem contains the main check button, displaying the item’s content and glyph, and a Down Arrow button.
Clicking the Down Arrow button invokes the drop-down control, specified by the inherited BarSplitButtonItem.PopupControl property.
You can hide the Down Arrow button via the inherited BarSplitButtonItem.ActAsDropDown property. In this instance, clicking the main button invokes the CheckedChanged events and the specified command. And, in addition, the assigned drop-down control pops up.
If the BarSplitCheckItem.IsThreeState property is set to false, two states are supported for the check button - Checked and Unchecked. If this property is set to true, the check button supports three states - Checked, Unchecked and Indeterminate. To change the button’s check state in code, use the BarSplitCheckItem.IsChecked property.