﻿<?xml version="1.0" encoding="utf-8"?><Type Name="DataGridViewCheckBoxColumn" FullName="System.Windows.Forms.DataGridViewCheckBoxColumn"><TypeSignature Language="C#" Value="public class DataGridViewCheckBoxColumn : System.Windows.Forms.DataGridViewColumn" /><AssemblyInfo><AssemblyName>System.Windows.Forms</AssemblyName><AssemblyVersion>2.0.0.0</AssemblyVersion></AssemblyInfo><Base><BaseTypeName>System.Windows.Forms.DataGridViewColumn</BaseTypeName></Base><Interfaces /><Docs><since version=".NET 2.0" /><remarks><attribution license="cc4" from="Microsoft" modified="false" /><para>The <see cref="T:System.Windows.Forms.DataGridViewCheckBoxColumn" /> class is a specialized type of the <see cref="T:System.Windows.Forms.DataGridViewColumn" /> class used to logically host cells that indicate binary state. A <see cref="T:System.Windows.Forms.DataGridViewCheckBoxColumn" /> has an associated <see cref="T:System.Windows.Forms.DataGridViewCheckBoxCell" /> in every <see cref="T:System.Windows.Forms.DataGridViewRow" /> that intersects it. Each cell supplies a user interface (UI) that is similar to a <see cref="T:System.Windows.Forms.CheckBox" /> control.</para><para>The default sort mode for this column type is <see cref="F:System.Windows.Forms.DataGridViewColumnSortMode.NotSortable" />.</para><para>Typically, check box cell values are intended either for storage, like any other data, or for performing bulk operations. If you want to respond immediately when users click a check box cell, you can handle the <see cref="E:System.Windows.Forms.DataGridView.CellContentClick" /> event, but this event occurs before the cell value is updated. If you need the new value at the time of the click, one option is to calculate what the expected value will be based on the current value. Another approach is to commit the change immediately, and handle the <see cref="E:System.Windows.Forms.DataGridView.CellValueChanged" /> event to respond to it. To commit the change when the cell is clicked, you must handle the <see cref="E:System.Windows.Forms.DataGridView.CurrentCellDirtyStateChanged" /> event. In the handler, if the current cell is a check box cell, call the <see cref="M:System.Windows.Forms.DataGridView.CommitEdit(System.Windows.Forms.DataGridViewDataErrorContexts)" /> method and pass in the <see cref="F:System.Windows.Forms.DataGridViewDataErrorContexts.Commit" /> value. </para></remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Hosts a collection of <see cref="T:System.Windows.Forms.DataGridViewCheckBoxCell" /> objects.</para></summary></Docs><Members><Member MemberName=".ctor"><MemberSignature Language="C#" Value="public DataGridViewCheckBoxColumn ();" /><MemberType>Constructor</MemberType><Parameters /><Docs><since version=".NET 2.0" /><remarks><attribution license="cc4" from="Microsoft" modified="false" /><para>Using this default constructor is equivalent to supplying an argument of false to the <see cref="M:System.Windows.Forms.DataGridViewCheckBoxColumn.#ctor(System.Boolean)" /> constructor.</para></remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Initializes a new instance of the <see cref="T:System.Windows.Forms.DataGridViewCheckBoxColumn" /> class to the default state.</para></summary></Docs><AssemblyInfo><AssemblyVersion>2.0.0.0</AssemblyVersion></AssemblyInfo></Member><Member MemberName=".ctor"><MemberSignature Language="C#" Value="public DataGridViewCheckBoxColumn (bool threeState);" /><MemberType>Constructor</MemberType><Parameters><Parameter Name="threeState" Type="System.Boolean" /></Parameters><Docs><since version=".NET 2.0" /><remarks><attribution license="cc4" from="Microsoft" modified="false" /><para>This constructor initializes the column by setting the following properties. </para><list type="table"><listheader><item><term><para>Property </para></term><description><para>Value </para></description></item></listheader><item><term><para><see cref="P:System.Windows.Forms.DataGridViewCheckBoxColumn.CellTemplate" /></para></term><description><para>A new <see cref="T:System.Windows.Forms.DataGridViewCheckBoxCell" /> with its <see cref="P:System.Windows.Forms.DataGridViewCheckBoxCell.ThreeState" /> property initialized to the <paramref name="threeState" /> parameter value. </para></description></item><item><term><para><see cref="P:System.Windows.Forms.DataGridViewCheckBoxColumn.ThreeState" /></para></term><description><para>The value of the <paramref name="threeState" /> parameter.</para></description></item><item><term><para><see cref="P:System.Windows.Forms.DataGridViewColumn.SortMode" /></para></term><description><para><see cref="F:System.Windows.Forms.DataGridViewColumnSortMode.NotSortable" /></para></description></item><item><term><para>The <see cref="P:System.Windows.Forms.DataGridViewCellStyle.Alignment" /> property of the <see cref="T:System.Windows.Forms.DataGridViewCellStyle" /> object returned by the <see cref="P:System.Windows.Forms.DataGridViewCheckBoxColumn.DefaultCellStyle" /> property.</para></term><description><para><see cref="F:System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter" /></para></description></item><item><term><para>The <see cref="P:System.Windows.Forms.DataGridViewCellStyle.NullValue" /> property of the <see cref="T:System.Windows.Forms.DataGridViewCellStyle" /> object returned by the <see cref="P:System.Windows.Forms.DataGridViewColumn.DefaultCellStyle" /> property.</para></term><description><para><see cref="F:System.Windows.Forms.CheckState.Indeterminate" /> if <paramref name="threeState" /> is true; otherwise, false.</para></description></item></list></remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Initializes a new instance of the <see cref="T:System.Windows.Forms.DataGridViewCheckBoxColumn" /> and configures it to display check boxes with two or three states. </para></summary><param name="threeState"><attribution license="cc4" from="Microsoft" modified="false" />true to display check boxes with three states; false to display check boxes with two states. </param></Docs><AssemblyInfo><AssemblyVersion>2.0.0.0</AssemblyVersion></AssemblyInfo></Member><Member MemberName="CellTemplate"><MemberSignature Language="C#" Value="public override System.Windows.Forms.DataGridViewCell CellTemplate { set; get; }" /><MemberType>Property</MemberType><ReturnValue><ReturnType>System.Windows.Forms.DataGridViewCell</ReturnType></ReturnValue><Docs><value>To be added.</value><since version=".NET 2.0" /><remarks><attribution license="cc4" from="Microsoft" modified="false" /><para>The constructors for the <see cref="T:System.Windows.Forms.DataGridViewCheckBoxColumn" /> class initialize this property to a newly created <see cref="T:System.Windows.Forms.DataGridViewCheckBoxCell" />. </para><block subset="none" type="note"><para>Changing the properties of the cell template will not immediately affect the user interface (UI) of the column's existing cells. These changes are only apparent after the column is regenerated (for example, by sorting the column or through a call to the <see cref="M:System.Windows.Forms.DataGridView.InvalidateColumn(System.Int32)" /> method).</para></block></remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Gets or sets the template used to create new cells.</para></summary></Docs><AssemblyInfo><AssemblyVersion>2.0.0.0</AssemblyVersion></AssemblyInfo><Attributes><Attribute><AttributeName>System.ComponentModel.DesignerSerializationVisibility(System.ComponentModel.DesignerSerializationVisibility.Hidden)</AttributeName></Attribute><Attribute><AttributeName>System.ComponentModel.Browsable(false)</AttributeName></Attribute></Attributes></Member><Member MemberName="DefaultCellStyle"><MemberSignature Language="C#" Value="public override System.Windows.Forms.DataGridViewCellStyle DefaultCellStyle { set; get; }" /><MemberType>Property</MemberType><ReturnValue><ReturnType>System.Windows.Forms.DataGridViewCellStyle</ReturnType></ReturnValue><Docs><value>To be added.</value><since version=".NET 2.0" /><remarks><attribution license="cc4" from="Microsoft" modified="false" /><para>The default <see cref="T:System.Windows.Forms.DataGridViewCellStyle" /> returned by this property has the following initial property values:</para><list type="table"><listheader><item><term><para>DataGridViewCellStyle property</para></term><description><para>Default value</para></description></item></listheader><item><term><para><see cref="P:System.Windows.Forms.DataGridViewCellStyle.Alignment" /></para></term><description><para><see cref="F:System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter" /></para></description></item><item><term><para><see cref="P:System.Windows.Forms.DataGridViewCellStyle.NullValue" /></para></term><description><para><see cref="F:System.Windows.Forms.CheckState.Indeterminate" /> if the initial <see cref="P:System.Windows.Forms.DataGridViewCheckBoxColumn.ThreeState" /> property value is true; otherwise, false.</para></description></item></list><para>These values override the value specified in the <see cref="P:System.Windows.Forms.DataGridView.DefaultCellStyle" /> property of the <see cref="T:System.Windows.Forms.DataGridView" /> control, but may be overridden by other cell style properties. For more information, see <format type="text/html"><a href="dbb75ed6-8804-4232-8382-f9920c2e380c">Cell Styles in the Windows Forms DataGridView Control</a></format>.</para><para>If the <see cref="P:System.Windows.Forms.DataGridViewCellStyle.NullValue" /> property of the object returned by the <see cref="P:System.Windows.Forms.DataGridViewCheckBoxColumn.DefaultCellStyle" /> property has a value of false, changing the <see cref="P:System.Windows.Forms.DataGridViewCheckBoxColumn.ThreeState" /> property value to true automatically sets <see cref="P:System.Windows.Forms.DataGridViewCellStyle.NullValue" /> to <see cref="F:System.Windows.Forms.CheckState.Indeterminate" />. If <see cref="P:System.Windows.Forms.DataGridViewCellStyle.NullValue" /> has a value of <see cref="F:System.Windows.Forms.CheckState.Indeterminate" />, changing the <see cref="P:System.Windows.Forms.DataGridViewCheckBoxColumn.ThreeState" /> property value to false automatically sets <see cref="P:System.Windows.Forms.DataGridViewCellStyle.NullValue" /> to false. </para></remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Gets or sets the column's default cell style.</para></summary></Docs><AssemblyInfo><AssemblyVersion>2.0.0.0</AssemblyVersion></AssemblyInfo><Attributes><Attribute><AttributeName>System.ComponentModel.Browsable(true)</AttributeName></Attribute></Attributes></Member><Member MemberName="FalseValue"><MemberSignature Language="C#" Value="public object FalseValue { set; get; }" /><MemberType>Property</MemberType><ReturnValue><ReturnType>System.Object</ReturnType></ReturnValue><Docs><value>To be added.</value><since version=".NET 2.0" /><remarks><attribution license="cc4" from="Microsoft" modified="false" /><para>The <see cref="P:System.Windows.Forms.DataGridViewCheckBoxColumn.FalseValue" />, <see cref="P:System.Windows.Forms.DataGridViewCheckBoxColumn.TrueValue" />, and <see cref="P:System.Windows.Forms.DataGridViewCheckBoxColumn.IndeterminateValue" /> properties determine the associated values of these states as they occur in the underlying data source.</para><para>Getting or setting this property gets or sets the <see cref="P:System.Windows.Forms.DataGridViewCheckBoxCell.FalseValue" /> property of the cell object returned by the <see cref="P:System.Windows.Forms.DataGridViewCheckBoxColumn.CellTemplate" /> property. Setting this property also sets the <see cref="P:System.Windows.Forms.DataGridViewCheckBoxCell.FalseValue" /> property of every cell in the column and refreshes the column display. To override the specified value for individual cells, set the cell values after you set the column value.</para></remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Gets or sets the underlying value corresponding to a cell value of false, which appears as an unchecked box.</para></summary></Docs><AssemblyInfo><AssemblyVersion>2.0.0.0</AssemblyVersion></AssemblyInfo><Attributes><Attribute><AttributeName>System.ComponentModel.TypeConverter(typeof(System.ComponentModel.StringConverter))</AttributeName></Attribute><Attribute><AttributeName>System.ComponentModel.DefaultValue(null)</AttributeName></Attribute></Attributes></Member><Member MemberName="FlatStyle"><MemberSignature Language="C#" Value="public System.Windows.Forms.FlatStyle FlatStyle { set; get; }" /><MemberType>Property</MemberType><ReturnValue><ReturnType>System.Windows.Forms.FlatStyle</ReturnType></ReturnValue><Docs><value>To be added.</value><since version=".NET 2.0" /><remarks><attribution license="cc4" from="Microsoft" modified="false" /><para>To display the check box cells using visual styles, set this property to <see cref="F:System.Windows.Forms.FlatStyle.System" /> and call the <see cref="M:System.Windows.Forms.Application.EnableVisualStyles" /> method before <see cref="Overload:System.Windows.Forms.Application.Run" />.</para><para>Getting or setting this property gets or sets the <see cref="P:System.Windows.Forms.DataGridViewCheckBoxCell.FlatStyle" /> property of the cell object returned by the <see cref="P:System.Windows.Forms.DataGridViewCheckBoxColumn.CellTemplate" /> property. Setting this property also sets the <see cref="P:System.Windows.Forms.DataGridViewCheckBoxCell.FlatStyle" /> property of every cell in the column and refreshes the column display. To override the specified value for individual cells, set the cell values after you set the column value.</para></remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Gets or sets the flat style appearance of the check box cells.</para></summary></Docs><AssemblyInfo><AssemblyVersion>2.0.0.0</AssemblyVersion></AssemblyInfo><Attributes><Attribute><AttributeName>System.ComponentModel.DefaultValue(System.Windows.Forms.FlatStyle.Standard)</AttributeName></Attribute></Attributes></Member><Member MemberName="IndeterminateValue"><MemberSignature Language="C#" Value="public object IndeterminateValue { set; get; }" /><MemberType>Property</MemberType><ReturnValue><ReturnType>System.Object</ReturnType></ReturnValue><Docs><value>To be added.</value><since version=".NET 2.0" /><remarks><attribution license="cc4" from="Microsoft" modified="false" /><para>The <see cref="P:System.Windows.Forms.DataGridViewCheckBoxColumn.FalseValue" />, <see cref="P:System.Windows.Forms.DataGridViewCheckBoxColumn.TrueValue" />, and <see cref="P:System.Windows.Forms.DataGridViewCheckBoxColumn.IndeterminateValue" /> properties determine the associated values of these states as they occur in the underlying data source.</para><para>Getting or setting this property gets or sets the <see cref="P:System.Windows.Forms.DataGridViewCheckBoxCell.IndeterminateValue" /> property of the cell object returned by the <see cref="P:System.Windows.Forms.DataGridViewCheckBoxColumn.CellTemplate" /> property. Setting this property also sets the <see cref="P:System.Windows.Forms.DataGridViewCheckBoxCell.IndeterminateValue" /> property of every cell in the column and refreshes the column display. To override the specified value for individual cells, set the cell values after you set the column value.</para></remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Gets or sets the underlying value corresponding to an indeterminate or null cell value, which appears as a disabled checkbox.</para></summary></Docs><AssemblyInfo><AssemblyVersion>2.0.0.0</AssemblyVersion></AssemblyInfo><Attributes><Attribute><AttributeName>System.ComponentModel.TypeConverter(typeof(System.ComponentModel.StringConverter))</AttributeName></Attribute><Attribute><AttributeName>System.ComponentModel.DefaultValue(null)</AttributeName></Attribute></Attributes></Member><Member MemberName="ThreeState"><MemberSignature Language="C#" Value="public bool ThreeState { set; get; }" /><MemberType>Property</MemberType><ReturnValue><ReturnType>System.Boolean</ReturnType></ReturnValue><Docs><value>To be added.</value><since version=".NET 2.0" /><remarks><attribution license="cc4" from="Microsoft" modified="false" /><para>The indeterminate state can be useful, for example, when you do not want to set a default value in the check box.</para><para>Getting or setting this property gets or sets the <see cref="P:System.Windows.Forms.DataGridViewCheckBoxCell.ThreeState" /> property of the cell object returned by the <see cref="P:System.Windows.Forms.DataGridViewCheckBoxColumn.CellTemplate" /> property. Setting this property also sets the <see cref="P:System.Windows.Forms.DataGridViewCheckBoxCell.ThreeState" /> property of every cell in the column and refreshes the column display. To override the specified value for individual cells, set the cell values after you set the column value.</para><para>If the <see cref="P:System.Windows.Forms.DataGridViewCellStyle.NullValue" /> property of the object returned by the <see cref="P:System.Windows.Forms.DataGridViewCheckBoxColumn.DefaultCellStyle" /> property has a value of false, changing the <see cref="P:System.Windows.Forms.DataGridViewCheckBoxColumn.ThreeState" /> property value to true automatically sets <see cref="P:System.Windows.Forms.DataGridViewCellStyle.NullValue" /> to <see cref="F:System.Windows.Forms.CheckState.Indeterminate" />. If <see cref="P:System.Windows.Forms.DataGridViewCellStyle.NullValue" /> has a value of <see cref="F:System.Windows.Forms.CheckState.Indeterminate" />, changing the <see cref="P:System.Windows.Forms.DataGridViewCheckBoxColumn.ThreeState" /> property value to false automatically sets <see cref="P:System.Windows.Forms.DataGridViewCellStyle.NullValue" /> to false. </para></remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Gets or sets a value indicating whether the hosted check box cells will allow three check states rather than two.</para></summary></Docs><AssemblyInfo><AssemblyVersion>2.0.0.0</AssemblyVersion></AssemblyInfo><Attributes><Attribute><AttributeName>System.ComponentModel.DefaultValue(false)</AttributeName></Attribute></Attributes></Member><Member MemberName="ToString"><MemberSignature Language="C#" Value="public override string ToString ();" /><MemberType>Method</MemberType><ReturnValue><ReturnType>System.String</ReturnType></ReturnValue><Parameters /><Docs><summary>To be added.</summary><returns>To be added.</returns><remarks>To be added.</remarks><since version=".NET 2.0" /></Docs><AssemblyInfo><AssemblyVersion>2.0.0.0</AssemblyVersion></AssemblyInfo></Member><Member MemberName="TrueValue"><MemberSignature Language="C#" Value="public object TrueValue { set; get; }" /><MemberType>Property</MemberType><ReturnValue><ReturnType>System.Object</ReturnType></ReturnValue><Docs><value>To be added.</value><since version=".NET 2.0" /><remarks><attribution license="cc4" from="Microsoft" modified="false" /><para>The <see cref="P:System.Windows.Forms.DataGridViewCheckBoxColumn.FalseValue" />, <see cref="P:System.Windows.Forms.DataGridViewCheckBoxColumn.TrueValue" />, and <see cref="P:System.Windows.Forms.DataGridViewCheckBoxColumn.IndeterminateValue" /> properties determine the associated values of these states as they occur in the underlying data source.</para><para>Getting or setting this property gets or sets the <see cref="P:System.Windows.Forms.DataGridViewCheckBoxCell.TrueValue" /> property of the cell object returned by the <see cref="P:System.Windows.Forms.DataGridViewCheckBoxColumn.CellTemplate" /> property. Setting this property also sets the <see cref="P:System.Windows.Forms.DataGridViewCheckBoxCell.TrueValue" /> property of every cell in the column and refreshes the column display. To override the specified value for individual cells, set the cell values after you set the column value.</para></remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Gets or sets the underlying value corresponding to a cell value of true, which appears as a checked box.</para></summary></Docs><AssemblyInfo><AssemblyVersion>2.0.0.0</AssemblyVersion></AssemblyInfo><Attributes><Attribute><AttributeName>System.ComponentModel.TypeConverter(typeof(System.ComponentModel.StringConverter))</AttributeName></Attribute><Attribute><AttributeName>System.ComponentModel.DefaultValue(null)</AttributeName></Attribute></Attributes></Member></Members><Attributes><Attribute><AttributeName>System.Drawing.ToolboxBitmap("")</AttributeName></Attribute></Attributes></Type>