Skip to main content

VisColorComboBox

Namespace: PPJ.Runtime.Vis

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

Displays combo-box items with individual text colors.

public class VisColorComboBox : VisComboBoxBase

Example:

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

Constructors

Instance member VisColorComboBox()

Initializes the color combo 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: VisColorComboBox. The associated VisColorComboBox, or null when no managed control owns the handle.

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

Implements

NameDescription
ISalControl
ISalEditControl
ISalListControl
ISalWindow