UltraCheckEditor Control.
The Infragistics UltraCheckEditor control offers all the same features as the Windows
CheckBox with some additional functional, appearance and event feature. With the
UltraCheckEditor you can set the Style property to button style to act as a StateButtonTool.

Namespace: Infragistics.Win.UltraWinEditors
Assembly: Infragistics2.Win.UltraWinEditors.v6.3.dll
using Infragistics.Win.UltraWinEditors;
Calling: Infragistics.Win.UltraWinEditors.UltraCheckEditor
Creating a new Infragistics.Win.Misc.UltraButton control.
Infragistics.Win.UltraWinEditors.UltraCheckEditor ultraCheckEditor1 = new Infragistics.Win.UltraWinEditors.UltraCheckEditor();
Adding the UltraCheckEditor control to a Windows form.
this.Controls.Add(ultraCheckEditor1);
To set the check state of the ultraCheckEditor, set the Checked property to true.
ultraCheckEditor1.Checked = true;
To add a CheckChanged event.
ultraCheckEditor1.CheckedChanged +=new EventHandler(ultraCheckEditor1_CheckedChanged);
To respond to the CheckChanged event.
private void ultraCheckEditor1_CheckedChanged(object sender, EventArgs e)
{
if (ultraCheckEditor1.Checked)
{
MessageBox.Show("checked");
}
}
|