ColumnHeader.Clone Method ()


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

Creates an identical copy of the current ColumnHeader that is not attached to any list view control.

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

public object Clone()

Return Value

Type: System.Object

An object representing a copy of this ColumnHeader object.

You can use this method to copy existing ColumnHeader objects from an existing ListView control for use in other ListView controls.

.NET Framework
Available since 1.1
Return to top