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