ListView.ColumnHeaderCollection.Add Method

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Adds a column header to the collection.

Namespace:   System.Windows.Forms
Assembly:  System.Windows.Forms (in System.Windows.Forms.dll)

NameDescription
System_CAPS_pubmethodAdd(ColumnHeader)

Adds an existing ColumnHeader to the collection.

System_CAPS_pubmethodAdd(String)

Creates and adds a column with the specified text to the collection.

System_CAPS_pubmethodAdd(String, Int32)

Creates and adds a column with the specified text and width to the collection.

System_CAPS_pubmethodAdd(String, Int32, HorizontalAlignment)

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

System_CAPS_pubmethodAdd(String, String)

Creates and adds a column with the specified text and key to the collection.

System_CAPS_pubmethodAdd(String, String, Int32)

Creates and adds a column with the specified text, key, and width to the collection.

System_CAPS_pubmethodAdd(String, String, Int32, HorizontalAlignment, Int32)

Creates and adds a column with the specified key, aligned text, width, and image index to the collection.

System_CAPS_pubmethodAdd(String, String, Int32, HorizontalAlignment, String)

Creates and adds a column with the specified key, aligned text, width, and image key to the collection.

Return to top
Show: