This documentation is for the old version. Go to the latest Graphics Mill docs

ListColumn Constructor (Int32, String, Int32, HorizontalAlignment)

Creates and initializes new ListColumn class instance.

Namespace: Aurigma.GraphicsMill.WinControls
Assembly: Aurigma.GraphicsMill.WinControls (in Aurigma.GraphicsMill.WinControls.dll)

Syntax

Visual Basic
Public Sub New ( _
	textInfoId As Integer, _
	caption As String, _
	width As Integer, _
	textAlignment As HorizontalAlignment _
)
C#
public ListColumn(
	int textInfoId,
	string caption,
	int width,
	HorizontalAlignment textAlignment
)

Parameters

textInfoId

Type: System.Int32

An integer value identifying the text information which should be displayed in this column.
caption

Type: System.String

A string specifying the caption of the column.
width

Type: System.Int32

An integer number specifying the column width.
textAlignment

Type: System.Windows.Forms.HorizontalAlignment

HorizontalAlignment value that specifies the column text alignment.

Remarks

ThumbnailListItem class provides access to the following pieces of text information:

Constant Description
TextInfoIdCreationDate File creation date.
TextInfoIdDisplayName Display name of the item (its file name without path with or without extention depending on Windows settings).
TextInfoIdFileSize File size.
TextInfoIdFileType File type name (as registered in Windows).
TextInfoIdPath Full path to the file.

If you implement your own list items, you should define identifiers of pieces of text information yourself.

See Also

Reference