DataGridViewCheckBoxCell コンストラクター
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
DataGridViewCheckBoxCell クラスの新しいインスタンスを初期化します。
オーバーロード
DataGridViewCheckBoxCell() |
DataGridViewCheckBoxCell クラスの新しいインスタンスを既定の状態に初期化します。 |
DataGridViewCheckBoxCell(Boolean) |
DataGridViewCheckBoxCell クラスの新しいインスタンスを初期化して、2 進または 3 進状態を有効にします。 |
DataGridViewCheckBoxCell()
DataGridViewCheckBoxCell クラスの新しいインスタンスを既定の状態に初期化します。
public:
DataGridViewCheckBoxCell();
public DataGridViewCheckBoxCell ();
Public Sub New ()
注釈
このコンストラクターは、 プロパティ値を ThreeState に false
初期化します。
こちらもご覧ください
適用対象
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 つの状態を使用できます。 パラメーターが threeState
に true
設定されている場合、追加の不確定な状態が許可されます。これは、灰色の部分チェックによって視覚的に示されます。
こちらもご覧ください
適用対象
.NET