Export (0) Print
Expand All

ColumnHeader.Clone Method

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.

Implements

ICloneable.Clone()

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

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0, 1.1

.NET Framework Client Profile

Supported in: 4, 3.5 SP1
Show:
© 2015 Microsoft