Click or drag to resize

ListViewColumnHeaderCollectionAdd Method (String, Int32, HorizontalAlignment)

Adds a column header to the collection with specified text, width, and alignment settings.

Namespace:  ABB.Robotics.Tps.Windows.Forms
Assembly:  ABB.Robotics.Tps.Windows.Forms (in ABB.Robotics.Tps.Windows.Forms.dll) Version: 6.5.129.0
Syntax
C#
public virtual ColumnHeader Add(
	string str,
	int width,
	HorizontalAlignment textAlign
)

Parameters

str
Type: SystemString
The text to display in the column header.
width
Type: SystemInt32
The initial width of the column header.
textAlign
Type: System.Windows.FormsHorizontalAlignment
One of the HorizontalAlignment values.

Return Value

Type: ColumnHeader
The zero-based index where the item is stored in the collection.
See Also