Xceed SmartUI Documentation
OptionList Examples
Examples > OptionList Examples

Xceed SmartUI lets you create highly customizable Optionlists.

First Example

The first example shows a SmartUI containing ListItemDefault, CheckListItemFlat and OptionListItemFlat SmartItems.

This SmartUI has:

Now let's have a more detailed look at the SmartItems.

The ListItemDefault SmartItems ("Files and Folders", "Hidden Files and folder") have Caption and  Image

"Files and folders" has a Indent set to 0, whereas "Hidden files and folders" has a Indent set to 1.

The 2nd, 3rd, 4th, and 8th items are CheckListItemFlat SmartItems. The 4th one is checked ( Checked=True).

The 6th and 7th items are OptionListItemFlat SmartItems. The 6th one is checked ( Checked=True).

If preferred, we could have integrated a different image for each Item, and used 3D Look.

Second Example

The second example shows a SmartUI containing a MiscLabel and CheckListItemDefault SmartItems.

This SmartUI:

The CheckListItemDefault SmartItems all have a Image and a Caption. 3 Items are checked ( Checked=True).

Remarks

Of course, you can customize each item with Bold, HotBold, Underline, HotUnderline, Italic, HotItalic, ForeColor, HotForeColor, Image, HotImage, and so on. Besides, as all those SmartItems can have the Focus, you can specify SelectedBold, SelectedUnderline, SelectedItalic, SelectedImage, and even HotTrackSelect Properties.

See Also

ListBoxes, MenuBars, ToolBars, StatusBars, OutlookBars or ViewBars, TreeViews, PropertyLists, PropertyToolBoxes, Tabstrips

For more information on OptionLists, you can see the Lesson 5.