DataGridViewCellStyle.ICloneable.Clone Method ()


Creates an exact copy of this DataGridViewCellStyle.

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

object ICloneable.Clone()

Return Value

Type: System.Object

A DataGridViewCellStyle that represents an exact copy of this cell style.

This member is an explicit interface member implementation. It can be used only when the DataGridViewCellStyle instance is cast to an ICloneable interface.

.NET Framework
Available since 2.0
Return to top