Skip to main content

VisColorListBox

Namespace: PPJ.Runtime.Vis

Assembly: PPJ.Runtime.Vis.50 (5.0.0.0)

Displays list-box items with individual text colors.

public class VisColorListBox : VisListBoxBase

Example:

using (var list = new PPJ.Runtime.Vis.VisColorListBox())
{
list.AddColor("Warning", PPJ.Runtime.Sys.COLOR_Red);
}

Constructors

Instance member VisColorListBox()

Initializes the color list box and its default behavior.

Methods

Static member FromHandle(handle)

Resolves this control type from a native window handle.

ParameterTypeDescription
handleSalWindowHandleThe native control handle.

Returns: VisColorListBox. The associated VisColorListBox, or null when no managed control owns the handle.

A handle belonging to a different managed control type causes an InvalidCastException.

Implements

NameDescription
ISalControl
ISalListControl
ISalWindow