DataGridViewCellStyle コンストラクター

定義

DataGridViewCellStyle クラスの新しいインスタンスを初期化します。

オーバーロード

DataGridViewCellStyle()

既定のプロパティ値を使用して DataGridViewCellStyle クラスの新しいインスタンスを初期化します。

DataGridViewCellStyle(DataGridViewCellStyle)

指定した DataGridViewCellStyle のプロパティ値を使用して DataGridViewCellStyle クラスの新しいインスタンスを初期化します。

DataGridViewCellStyle()

既定のプロパティ値を使用して DataGridViewCellStyle クラスの新しいインスタンスを初期化します。

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

こちらもご覧ください

適用対象

DataGridViewCellStyle(DataGridViewCellStyle)

指定した DataGridViewCellStyle のプロパティ値を使用して 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)

パラメーター

dataGridViewCellStyle
DataGridViewCellStyle

初期プロパティ値を決定するテンプレートとして使用される DataGridViewCellStyle

例外

dataGridViewCellStylenullです。

こちらもご覧ください

適用対象