UltraOptionSet Control.
The Infragistics UltraOptionSet control offers all the functionality as the RadioButton
control with many great features. The UltraOptionSet is pre-wrapped in a group type
control which is fully customizable from Style, option collections, events and appearance.

Namespace: Infragistics.Win.UltraWinEditors
Assembly: Infragistics2.Win.UltraWinEditors.v6.3.dll
using Infragistics.Win.UltraWinEditors;
Calling: Infragistics.Win.UltraWinEditors.UltraOptionSet
Creating a new Infragistics.Win.UltraWinEditors.UltraOptionSet control.
Infragistics.Win.UltraWinEditors.UltraOptionSet ultraOptionSet1 = new Infragistics.Win.UltraWinEditors.UltraOptionSet();
Adding the UltraOptionSet control to a Windows form.
this.Controls.Add(ultraOptionSet1);
Adding ValueListItems to the UltraOptionSet.
Infragistics.Win.ValueListItem vi = new Infragistics.Win.ValueListItem("Fruit",
"Pears"); ultraOptionSet1.Items.Add(vi);
Creating a ValueChanged event for the UltraOptionSet.
ultraOptionSet1.ValueChanged+=new EventHandler(ultraOptionSet1_ValueChanged);
Responding to the ValueChanged event.
private void ultraOptionSet1_ValueChanged(object sender, EventArgs e)
{
MessageBox.Show(ultraOptionSet1.ValueList.SelectedItem.ToString());
//Displays the display text of the item.
}
The BackHatchStyle allows the interface developer to explore his/hers creativity.
|