Skip to main content

VisFileListBox

Namespace: PPJ.Runtime.Vis

Assembly: PPJ.Runtime.Vis.50 (5.0.0.0)

Displays directory and file information with type images.

public class VisFileListBox : VisListBoxBase

Example:

using (var list = new PPJ.Runtime.Vis.VisFileListBox())
{
list.Width = 240;
}

Constructors

Instance member VisFileListBox()

Initializes the file list box and its default behavior.

Methods

Static member FromHandle(handle)

Resolves this control type from a native window handle.

ParameterTypeDescription
handleSalWindowHandleThe 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.

Instance member Populate(sPath)

Replaces the list with a parent-directory entry, subdirectories, and files.

ParameterTypeDescription
sPathSalStringThe 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

NameDescription
ISalControl
ISalListControl
ISalWindow