System.Windows.Forms.ColumnHeader.Clone Method

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

Syntax

public object Clone ()

Returns

An object representing a copy of this System.Windows.Forms.ColumnHeader object.

Remarks

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

Requirements

Namespace: System.Windows.Forms
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0