VisColorComboBox
Namespace: PPJ.Runtime.Vis
Assembly: PPJ.Runtime.Vis.50 (5.0.0.0)
Displays combo-box items with individual text colors.
- C#
- VB.NET
public class VisColorComboBox : VisComboBoxBase
Public Class VisColorComboBox
Inherits VisComboBoxBase
Example:
using (var list = new PPJ.Runtime.Vis.VisColorComboBox())
{
list.AddColor("Warning", PPJ.Runtime.Sys.COLOR_Red);
}
Constructors
VisColorComboBox()
Initializes the color combo 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: 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
| Name | Description |
|---|---|
| ISalControl | |
| ISalEditControl | |
| ISalListControl | |
| ISalWindow |