ColumnHeader.Clone Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Creates an identical copy of the current ColumnHeader that is not attached to any list view control.
public:
virtual System::Object ^ Clone();
public object Clone ();
abstract member Clone : unit -> obj
override this.Clone : unit -> obj
Public Function Clone () As Object
Returns
An object representing a copy of this ColumnHeader object.
Implements
Remarks
You can use this method to copy existing ColumnHeader objects from an existing ListView control for use in other ListView controls.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.