Version

WinOptionSet Smart Tag

In Visual Studio 2005 (.NET Framework 2.0), each Ultimate UI for Windows Forms control/component is equipped with a Smart Tag. By simply selecting the control/component, a Smart Tag anchor appears. When you click this anchor, a pop-up panel appears, providing you with quick and easy access to the most common properties and settings of the control/component.

The WinOptionSet™ Smart Tag contains the name of the control, as well as the following sections:

  • Appearance — Provides common tasks involving the appearance, look, and feel of the control.

  • Data — Refers to any underlying data the control is using such as data sources and data members.

See below for a description of the item (e.g., field, drop-down list, checkbox) in each section, as well as the item’s corresponding property in the properties grid.

ultraoptionset's smart tag
Appearance Description Corresponding Property

Edit Items

The WinOptionSet works like a group of radio buttons where you can only choose one item. Clicking Edit Items will open the Items collection where you can edit the choices of the option set.

Data Description Corresponding Property

Data Member

Once you have selected a valid data source, you can select all available data members from this drop-down.

Data Source

Click the drop-down and all available data sources in your project will be displayed. If you do not have a data source set up, you can select, "Add Project Data Source…​" to create one.

Checked Index

This will set the selected item’s index.