VisFileListBox
Namespace: PPJ.Runtime.Vis
Assembly: PPJ.Runtime.Vis.50 (5.0.0.0)
Displays directory and file information with type images.
- C#
- VB.NET
public class VisFileListBox : VisListBoxBase
Public Class VisFileListBox
Inherits VisListBoxBase
Example:
using (var list = new PPJ.Runtime.Vis.VisFileListBox())
{
list.Width = 240;
}
Constructors
VisFileListBox()
Initializes the file 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: VisFileListBox. The associated VisFileListBox, or null when no managed control owns the handle.
A handle belonging to a different managed control type causes an InvalidCastException.
Populate(sPath)
Replaces the list with a parent-directory entry, subdirectories, and files.
| Parameter | Type | Description |
|---|---|---|
| sPath | SalString | The directory path, including a trailing directory separator; the method appends "." directly. |
Returns: SalNumber. The number of directory and file entries plus the parent-directory entry.
Entries include tab-separated size, date, time, and attribute information where applicable.
Implements
| Name | Description |
|---|---|
| ISalControl | |
| ISalListControl | |
| ISalWindow |