Table of Contents

Method AddColors

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

AddColors(ListControl, bool, Color?)

Initializes ListControl with list of known colors (Web and Standard colors are used).

public static void AddColors(ListControl control, bool select = true, Color? defaultValue = null)

Parameters

control ListControl

Control instance which items will be filled with colors.

select bool

Specifies whether to select default item in the control.

defaultValue Color

Select this color in ListControl.