DataGridViewCellStyle.Clone Method

Definition

Creates an exact copy of this DataGridViewCellStyle.

public:
 virtual System::Windows::Forms::DataGridViewCellStyle ^ Clone();
public virtual System.Windows.Forms.DataGridViewCellStyle Clone ();
abstract member Clone : unit -> System.Windows.Forms.DataGridViewCellStyle
override this.Clone : unit -> System.Windows.Forms.DataGridViewCellStyle
Public Overridable Function Clone () As DataGridViewCellStyle

Returns

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

Applies to

See also