DataGridViewLinkColumn::Clone Method ()
.NET Framework (current version)
Creates an exact copy of this column.
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
Implements
ICloneable::Clone()| Exception | Condition |
|---|---|
| InvalidOperationException | The value of the CellTemplate property is null. |
Use this method to duplicate a column of link cells.
Notes to Inheritors:
When overriding Clone in a derived class, call the base class's Clone method so that the properties of the base class are copied to the new cell, and be sure to also copy the values of any properties that were added to the derived class.
.NET Framework
Available since 2.0
Available since 2.0
Show: