Table of Contents

Class ListControlUtils

Namespace
Alternet.UI
Assembly
Alternet.UI.Common.dll

Contains static methods related to list controls including StdListBox and ComboBox.

public static class ListControlUtils
Inheritance
ListControlUtils

Fields

DefaultFontSizesForPicker

Gets or sets array of font sizes used for picker controls.

Methods

AddColorNames(ComboBox, bool, Color?, bool)

Initializes ComboBox with list of known color names (Web and Standard colors are used).

AddColors(IListControl, bool, Color?, KnownColorCategory[]?, bool)

Initializes IListControl with list of known colors.

AddFontNames(BaseCollection<ListControlItem>)

Adds font names to the specified collection.

AddFontNames(ComboBox, bool, string?)

Initializes ComboBox with list of font names.

AddFontSizes(BaseCollection<ListControlItem>, float?)

Initializes collection of ListControlItem with list of font sizes.

AddTestItems(TreeViewItem, int, Action<TreeViewItem>?)

Adds test child items to the specified TreeViewItem.