DataGridViewCellStyle.ICloneable.Clone Method ()


The .NET API Reference documentation has a new home. Visit the .NET API Browser on to see the new experience.

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