VisColorListBox
Namespace: PPJ.Runtime.Vis
Assembly: PPJ.Web.Vis.50 (5.0.0.0)
A SAL list box whose items can display individual text colors.
- C#
- VB.NET
public class VisColorListBox : VisListBoxBase
Public Class VisColorListBox
Inherits VisListBoxBase
Populate the items explicitly; construction does not enumerate system fonts or populate a default list.
Example:
var colors = new VisColorListBox();
colors.AddColor("Green", Sys.COLOR_Green);
Constructors
VisColorListBox()
Creates an empty VisColorListBox with the extended list behavior supplied by its base class.
Methods
FromHandle(hWnd)
Resolves a SAL handle to an existing VisColorListBox.
| Parameter | Type | Description |
|---|---|---|
| hWnd | SalWindowHandle | The control handle to resolve. |
Returns: VisColorListBox. The associated control, or when no control is resolved.
Throws:
- InvalidCastException The handle identifies an incompatible control type.
Implements
| Name | Description |
|---|---|
| ISalControl | |
| ISalListControl | |
| ISalWindow |