Düzenle

Aracılığıyla paylaş


DataGridViewCellStyle Constructors

Definition

Initializes a new instance of the DataGridViewCellStyle class.

Overloads

DataGridViewCellStyle()

Initializes a new instance of the DataGridViewCellStyle class using default property values.

DataGridViewCellStyle(DataGridViewCellStyle)

Initializes a new instance of the DataGridViewCellStyle class using the property values of the specified DataGridViewCellStyle.

DataGridViewCellStyle()

Source:
DataGridViewCellStyle.cs
Source:
DataGridViewCellStyle.cs
Source:
DataGridViewCellStyle.cs

Initializes a new instance of the DataGridViewCellStyle class using default property values.

public:
 DataGridViewCellStyle();
public DataGridViewCellStyle ();
Public Sub New ()

See also

Applies to

DataGridViewCellStyle(DataGridViewCellStyle)

Source:
DataGridViewCellStyle.cs
Source:
DataGridViewCellStyle.cs
Source:
DataGridViewCellStyle.cs

Initializes a new instance of the DataGridViewCellStyle class using the property values of the specified DataGridViewCellStyle.

public:
 DataGridViewCellStyle(System::Windows::Forms::DataGridViewCellStyle ^ dataGridViewCellStyle);
public DataGridViewCellStyle (System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle);
new System.Windows.Forms.DataGridViewCellStyle : System.Windows.Forms.DataGridViewCellStyle -> System.Windows.Forms.DataGridViewCellStyle
Public Sub New (dataGridViewCellStyle As DataGridViewCellStyle)

Parameters

dataGridViewCellStyle
DataGridViewCellStyle

The DataGridViewCellStyle used as a template to provide initial property values.

Exceptions

dataGridViewCellStyle is null.

See also

Applies to