VisColorListBox
Namespace: PPJ.Runtime.Vis
Assembly: PPJ.Runtime.Vis.50 (5.0.0.0)
Displays list-box items with individual text colors.
- C#
- VB.NET
public class VisColorListBox : VisListBoxBase
Public Class VisColorListBox
Inherits VisListBoxBase
Example:
using (var list = new PPJ.Runtime.Vis.VisColorListBox())
{
list.AddColor("Warning", PPJ.Runtime.Sys.COLOR_Red);
}
Constructors
VisColorListBox()
Initializes the color list box and its default behavior.
Methods
FromHandle(handle)
Resolves this control type from a native window handle.
| Parameter | Type | Description |
|---|---|---|
| handle | SalWindowHandle | The 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
| Name | Description |
|---|---|
| ISalControl | |
| ISalListControl | |
| ISalWindow |