DataGridViewCheckBoxCell コンストラクター

定義

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

オーバーロード

DataGridViewCheckBoxCell()

DataGridViewCheckBoxCell クラスの新しいインスタンスを既定の状態に初期化します。

DataGridViewCheckBoxCell(Boolean)

DataGridViewCheckBoxCell クラスの新しいインスタンスを初期化して、2 進または 3 進状態を有効にします。

DataGridViewCheckBoxCell()

DataGridViewCheckBoxCell クラスの新しいインスタンスを既定の状態に初期化します。

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

注釈

このコンストラクターは、 プロパティ値を ThreeStatefalse初期化します。

こちらもご覧ください

適用対象

DataGridViewCheckBoxCell(Boolean)

DataGridViewCheckBoxCell クラスの新しいインスタンスを初期化して、2 進または 3 進状態を有効にします。

public:
 DataGridViewCheckBoxCell(bool threeState);
public DataGridViewCheckBoxCell (bool threeState);
new System.Windows.Forms.DataGridViewCheckBoxCell : bool -> System.Windows.Forms.DataGridViewCheckBoxCell
Public Sub New (threeState As Boolean)

パラメーター

threeState
Boolean

3 進状態が有効な場合は true。それ以外の場合は false

注釈

チェック ボックスの標準操作では、オンとオフの 2 つの状態を使用できます。 パラメーターが threeStatetrue設定されている場合、追加の不確定な状態が許可されます。これは、灰色の部分チェックによって視覚的に示されます。

こちらもご覧ください

適用対象