DataGridViewCheckBoxColumn コンストラクタ ()
アセンブリ: System.Windows.Forms (system.windows.forms.dll 内)
構文
解説
プラットフォーム
Windows 98, Windows 2000 SP4, Windows CE, Windows Millennium Edition, Windows Mobile for Pocket PC, Windows Mobile for Smartphone, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition
開発プラットフォームの中には、.NET Framework によってサポートされていないバージョンがあります。サポートされているバージョンについては、「システム要件」を参照してください。
参照
DataGridViewCheckBoxColumn コンストラクタ (Boolean)
アセンブリ: System.Windows.Forms (system.windows.forms.dll 内)
構文
解説
このコンストラクタは、次のプロパティを設定することによって列を初期化します。
値 | |
---|---|
CellTemplate | ThreeState プロパティが threeState パラメータの値に初期化された新しい DataGridViewCheckBoxCell。 |
ThreeState | threeState パラメータの値。 |
DataGridViewColumn.SortMode | DataGridViewColumnSortMode.NotSortable |
DefaultCellStyle プロパティによって返される DataGridViewCellStyle オブジェクトの Alignment プロパティ。 | DataGridViewContentAlignment.MiddleCenter |
DefaultCellStyle プロパティによって返される DataGridViewCellStyle オブジェクトの NullValue プロパティ。 | threeState が true の場合は CheckState.Indeterminate。それ以外の場合は false。 |
Windows 98, Windows 2000 SP4, Windows CE, Windows Millennium Edition, Windows Mobile for Pocket PC, Windows Mobile for Smartphone, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition
開発プラットフォームの中には、.NET Framework によってサポートされていないバージョンがあります。サポートされているバージョンについては、「システム要件」を参照してください。
参照
DataGridViewCheckBoxColumn コンストラクタ
オーバーロードの一覧
名前 | 説明 |
---|---|
DataGridViewCheckBoxColumn () | DataGridViewCheckBoxColumn クラスの新しいインスタンスを既定の状態に初期化します。 |
DataGridViewCheckBoxColumn (Boolean) | DataGridViewCheckBoxColumn の新しいインスタンスを初期化し、2 つまたは 3 つの状態を持つチェック ボックスを表示するように構成します。 |
関連項目
DataGridViewCheckBoxColumn クラスDataGridViewCheckBoxColumn メンバ
System.Windows.Forms 名前空間
DataGridView クラス
- DataGridViewCheckBoxColumn コンストラクタ ()のページへのリンク