VisPictureComboBox
Namespace: PPJ.Runtime.Vis
Assembly: PPJ.Web.Vis.50 (5.0.0.0)
A SAL combo box that associates normal and selected pictures with its items.
- C#
- VB.NET
public class VisPictureComboBox : VisComboBoxBase
Public Class VisPictureComboBox
Inherits VisComboBoxBase
Populate the items explicitly; construction does not enumerate system fonts or populate a default list.
Example:
var pictures = new VisPictureComboBox();
pictures.AddPicture("Document", normalPicture, selectedPicture);
Constructors
VisPictureComboBox()
Creates an empty VisPictureComboBox with the extended list behavior supplied by its base class.
Methods
FromHandle(hWnd)
Resolves a SAL handle to an existing VisPictureComboBox.
| Parameter | Type | Description |
|---|---|---|
| hWnd | SalWindowHandle | The control handle to resolve. |
Returns: VisPictureComboBox. The associated control, or when no control is resolved.
Throws:
- InvalidCastException The handle identifies an incompatible control type.
Implements
| Name | Description |
|---|---|
| ISalControl | |
| ISalEditControl | |
| ISalListControl | |
| ISalWindow |