﻿<?xml version="1.0" encoding="utf-8"?><Type Name="DataGridColumnStyle" FullName="System.Windows.Forms.DataGridColumnStyle"><TypeSignature Language="C#" Value="public abstract class DataGridColumnStyle : System.ComponentModel.Component, System.Windows.Forms.IDataGridColumnStyleEditingNotificationService" /><AssemblyInfo><AssemblyName>System.Windows.Forms</AssemblyName><AssemblyVersion>1.0.5000.0</AssemblyVersion><AssemblyVersion>2.0.0.0</AssemblyVersion></AssemblyInfo><Base><BaseTypeName>System.ComponentModel.Component</BaseTypeName></Base><Interfaces><Interface><InterfaceName>System.Windows.Forms.IDataGridColumnStyleEditingNotificationService</InterfaceName></Interface></Interfaces><Attributes><Attribute><AttributeName>System.ComponentModel.ToolboxItem(false)</AttributeName></Attribute><Attribute><AttributeName>System.ComponentModel.DefaultProperty("Header")</AttributeName></Attribute><Attribute><AttributeName>System.ComponentModel.DesignTimeVisible(false)</AttributeName></Attribute></Attributes><Docs><remarks><attribution license="cc4" from="Microsoft" modified="false" /><para>The collection of <see cref="T:System.Windows.Forms.DataGridColumnStyle" /> objects (the <see cref="T:System.Windows.Forms.GridColumnStylesCollection" />) is accessed through the <see cref="T:System.Windows.Forms.DataGrid" /> control's <see cref="P:System.Windows.Forms.DataGrid.TableStyles" /> property.</para><para>The <see cref="T:System.Windows.Forms.DataGrid" /> control automatically creates a collection of <see cref="T:System.Windows.Forms.DataGridColumnStyle" /> objects for you when you set the <see cref="P:System.Windows.Forms.DataGrid.DataSource" /> property to an appropriate data source. The objects created actually are instances of one of the following classes that inherit from <see cref="T:System.Windows.Forms.DataGridColumnStyle" />: <see cref="T:System.Windows.Forms.DataGridBoolColumn" /> or <see cref="T:System.Windows.Forms.DataGridTextBoxColumn" /> class.</para><para>To format the data display, set the <see cref="P:System.Windows.Forms.DataGridTextBoxColumn.Format" /> property of the <see cref="T:System.Windows.Forms.DataGridTextBoxColumn" /> class to one of the formatting values. For more information about valid formatting values, see <format type="text/html"><a href="0D1364DA-5B30-4D42-8E6B-03378343343F">Formatting Types</a></format> and <format type="text/html"><a href="98b374e3-0cc2-4c78-ab44-efb671d71984">Custom DateTime Format Strings</a></format>.</para><para>You can also create your own set of <see cref="T:System.Windows.Forms.DataGridColumnStyle" /> objects and add them to the <see cref="T:System.Windows.Forms.GridColumnStylesCollection" />. When you do so, you must set the <see cref="P:System.Windows.Forms.DataGridColumnStyle.MappingName" /> of each column style to the <see cref="P:System.Data.DataColumn.ColumnName" /> of a <see cref="T:System.Data.DataColumn" /> to synchronize the display of columns with the actual data.</para><block subset="none" type="note"><para>Always create <see cref="T:System.Windows.Forms.DataGridColumnStyle" /> objects and add them to the <see cref="T:System.Windows.Forms.GridColumnStylesCollection" /> before adding <see cref="T:System.Windows.Forms.DataGridTableStyle" /> objects to the <see cref="T:System.Windows.Forms.GridTableStylesCollection" />. When you add an empty <see cref="T:System.Windows.Forms.DataGridTableStyle" /> with a valid <see cref="P:System.Windows.Forms.DataGridTableStyle.MappingName" /> value to the collection, <see cref="T:System.Windows.Forms.DataGridColumnStyle" /> objects are automatically generated for you. Consequently, an exception will be thrown if you try to add new <see cref="T:System.Windows.Forms.DataGridColumnStyle" /> objects with duplicate <see cref="P:System.Windows.Forms.DataGridTableStyle.MappingName" /> values to the <see cref="T:System.Windows.Forms.GridColumnStylesCollection" />.</para></block><para>When one of the derived classes is instantiated by a <see cref="T:System.Windows.Forms.DataGrid" /> control, the class created depends on the <see cref="P:System.Data.DataColumn.DataType" /> of the <see cref="T:System.Data.DataColumn" /> associated with the <see cref="T:System.Windows.Forms.DataGridColumnStyle" /> object. For example, a <see cref="T:System.Data.DataColumn" /> with its <see cref="P:System.Data.DataColumn.DataType" /> set to System.Boolean will be associated with a <see cref="T:System.Windows.Forms.DataGridBoolColumn" />. To determine the type of any <see cref="T:System.Windows.Forms.DataGridColumnStyle" />, use the <see cref="M:System.Object.GetType" /> method.</para><para>To create your own column classes, you can inherit from <see cref="T:System.Windows.Forms.DataGridColumnStyle" />. You might want to do this in order to create special columns that host controls, as exemplified by the <see cref="T:System.Windows.Forms.DataGridTextBox" /> class, which hosts the <see cref="T:System.Windows.Forms.TextBox" /> control. For example, you can host an <see cref="T:System.Drawing.Image" /> control to show pictures in columns, or you can create your own user control to host in the column.</para><para>The functionality of the <see cref="T:System.Windows.Forms.DataGridColumnStyle" /> shouldn't be confused with that of the <see cref="T:System.Data.DataColumn" />. Whereas the <see cref="T:System.Data.DataColumn" /> contains the properties and methods appropriate to creating a data table's schema, the <see cref="T:System.Windows.Forms.DataGridColumnStyle" /> contains the properties and methods related to the appearance of an individual column on the screen.</para><para>If a row contains a <see cref="F:System.DBNull.Value" />, the text displayed in the column can be set with the <see cref="P:System.Windows.Forms.DataGridColumnStyle.NullText" /> property.</para><para>The <see cref="T:System.Windows.Forms.DataGridColumnStyle" /> class also allows you to specify the behavior of a column while its data is being changed. The <see cref="M:System.Windows.Forms.DataGridColumnStyle.BeginUpdate" /> and <see cref="M:System.Windows.Forms.DataGridColumnStyle.EndUpdate" /> methods temporarily suspend the drawing of the column while large updates are being made to the column's data. Without this functionality, every change in every cell of the grid would be immediately drawn; this could be distracting to the user and a performance liability.</para><para>Several methods allow monitoring of the column as it is edited by the user, including the <see cref="M:System.Windows.Forms.DataGridColumnStyle.Edit(System.Windows.Forms.CurrencyManager,System.Int32,System.Drawing.Rectangle,System.Boolean)" /> and <see cref="M:System.Windows.Forms.DataGridColumnStyle.Commit(System.Windows.Forms.CurrencyManager,System.Int32)" /> events.</para><para>Most of the properties and methods of the class are tailored to controlling a column's appearance. But a few, such as the <see cref="M:System.Windows.Forms.DataGridColumnStyle.GetColumnValueAtRow(System.Windows.Forms.CurrencyManager,System.Int32)" /> and <see cref="M:System.Windows.Forms.DataGridColumnStyle.SetColumnValueAtRow(System.Windows.Forms.CurrencyManager,System.Int32,System.Object)" /> allow you to examine and change the value in a specified cell.</para></remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Specifies the appearance, text formatting, and behavior of a <see cref="T:System.Windows.Forms.DataGrid" /> control column. This class is abstract.</para></summary></Docs><Members><Member MemberName=".ctor"><MemberSignature Language="C#" Value="public DataGridColumnStyle ();" /><MemberType>Constructor</MemberType><Parameters /><Docs><remarks><attribution license="cc4" from="Microsoft" modified="false" /><para>When you create an instance of a <see cref="T:System.Windows.Forms.DataGridColumnStyle" />, the following properties are initialized.</para><list type="table"><listheader><item><term><para>Property </para></term><description><para>Default value </para></description></item></listheader><item><term><para><see cref="P:System.Windows.Forms.DataGridColumnStyle.Alignment" /></para></term><description><para>HorizontalAlignment.Left  </para></description></item><item><term><para><see cref="P:System.Windows.Forms.DataGridColumnStyle.DataGridTableStyle" /></para></term><description><para>null </para></description></item><item><term><para><see cref="P:System.Windows.Forms.DataGridColumnStyle.FontHeight" /></para></term><description><para>-1 </para></description></item><item><term><para><see cref="M:System.Windows.Forms.DataGridColumnStyle.Invalidate" /></para></term><description><para>false  </para></description></item><item><term><para><see cref="P:System.Windows.Forms.DataGridColumnStyle.NullText" /></para></term><description><para>The string "(null)"</para></description></item><item><term><para><see cref="P:System.Windows.Forms.DataGridColumnStyle.ReadOnly" /></para></term><description><para>false </para></description></item></list></remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>In a derived class, initializes a new instance of the <see cref="T:System.Windows.Forms.DataGridColumnStyle" /> class.</para></summary></Docs><AssemblyInfo><AssemblyVersion>1.0.5000.0</AssemblyVersion><AssemblyVersion>2.0.0.0</AssemblyVersion></AssemblyInfo></Member><Member MemberName=".ctor"><MemberSignature Language="C#" Value="public DataGridColumnStyle (System.ComponentModel.PropertyDescriptor prop);" /><MemberType>Constructor</MemberType><Parameters><Parameter Name="prop" Type="System.ComponentModel.PropertyDescriptor" /></Parameters><Docs><remarks><attribution license="cc4" from="Microsoft" modified="false" /><para>To create a new <see cref="T:System.Windows.Forms.DataGridColumnStyle" />, you must first get the <see cref="T:System.Windows.Forms.CurrencyManager" /> for the data source of the table to which the column will be added. See the CurrencyManager and BindingManager for details on getting specific CurrencyManager objects for a form.</para><para>From the <see cref="T:System.Windows.Forms.CurrencyManager" />, you can then get the <see cref="T:System.ComponentModel.PropertyDescriptor" /> for the <see cref="T:System.Data.DataColumn" /> that will supply the data for the column.</para><para>When you create an instance of a <see cref="T:System.Windows.Forms.DataGridColumnStyle" />, the following read/write properties are initialized.</para><list type="table"><listheader><item><term><para>Property </para></term><description><para>Initial value </para></description></item></listheader><item><term><para><see cref="P:System.Windows.Forms.DataGridColumnStyle.Alignment" /></para></term><description><para>HorizontalAlignment.Left  </para></description></item><item><term><para><see cref="P:System.Windows.Forms.DataGridColumnStyle.DataGridTableStyle" /></para></term><description><para>null </para></description></item><item><term><para><see cref="P:System.Windows.Forms.DataGridColumnStyle.FontHeight" /></para></term><description><para>-1 </para></description></item><item><term><para><see cref="M:System.Windows.Forms.DataGridColumnStyle.Invalidate" /></para></term><description><para>false  </para></description></item><item><term><para><see cref="P:System.Windows.Forms.DataGridColumnStyle.NullText" /></para></term><description><para>"(null)" </para></description></item><item><term><para><see cref="P:System.Windows.Forms.DataGridColumnStyle.ReadOnly" /></para></term><description><para>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.DataGridColumnStyle" /> class with the specified <see cref="T:System.ComponentModel.PropertyDescriptor" />.</para></summary><param name="prop"><attribution license="cc4" from="Microsoft" modified="false" />A <see cref="T:System.ComponentModel.PropertyDescriptor" /> that provides the attributes for the column. </param></Docs><AssemblyInfo><AssemblyVersion>1.0.5000.0</AssemblyVersion><AssemblyVersion>2.0.0.0</AssemblyVersion></AssemblyInfo></Member><Member MemberName="Abort"><MemberSignature Language="C#" Value="protected abstract void Abort (int rowNum);" /><MemberType>Method</MemberType><AssemblyInfo><AssemblyVersion>1.0.5000.0</AssemblyVersion><AssemblyVersion>2.0.0.0</AssemblyVersion></AssemblyInfo><ReturnValue><ReturnType>System.Void</ReturnType></ReturnValue><Parameters><Parameter Name="rowNum" Type="System.Int32" /></Parameters><Docs><remarks><attribution license="cc4" from="Microsoft" modified="false" /><para>The <see cref="M:System.Windows.Forms.DataGridColumnStyle.Abort(System.Int32)" /> method is used by the <see cref="T:System.Windows.Forms.DataGrid" /> when the <see cref="M:System.Windows.Forms.DataGridColumnStyle.Commit(System.Windows.Forms.CurrencyManager,System.Int32)" /> method of the <see cref="T:System.Windows.Forms.DataGridColumnStyle" /> method returns false. In that case, the column value is rolled back to its previous value.</para><para>The <see cref="T:System.Windows.Forms.DataGridColumnStyle" /> must end any editing operations before returning. Use the <see cref="M:System.Windows.Forms.DataGridColumnStyle.Abort(System.Int32)" /> method to accomplish this.</para><para>The <see cref="M:System.Windows.Forms.DataGrid.EndEdit(System.Windows.Forms.DataGridColumnStyle,System.Int32,System.Boolean)" /> method of the <see cref="T:System.Windows.Forms.DataGrid" /> control indirectly invokes <see cref="M:System.Windows.Forms.DataGridColumnStyle.Abort(System.Int32)" /> if its <paramref name="ShouldAbort" /> parameter is set to true.</para></remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>When overridden in a derived class, initiates a request to interrupt an edit procedure.</para></summary><param name="rowNum"><attribution license="cc4" from="Microsoft" modified="false" />The row number upon which an operation is being interrupted. </param></Docs></Member><Member MemberName="Alignment"><MemberSignature Language="C#" Value="public virtual System.Windows.Forms.HorizontalAlignment Alignment { set; get; }" /><MemberType>Property</MemberType><Attributes><Attribute><AttributeName>System.ComponentModel.DefaultValue(System.Windows.Forms.HorizontalAlignment.Left)</AttributeName></Attribute><Attribute><AttributeName>System.ComponentModel.Localizable(true)</AttributeName></Attribute></Attributes><ReturnValue><ReturnType>System.Windows.Forms.HorizontalAlignment</ReturnType></ReturnValue><Docs><value>To be added.</value><remarks>To be added.</remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Gets or sets the alignment of text in a column.</para></summary></Docs><AssemblyInfo><AssemblyVersion>1.0.5000.0</AssemblyVersion><AssemblyVersion>2.0.0.0</AssemblyVersion></AssemblyInfo></Member><Member MemberName="AlignmentChanged"><MemberSignature Language="C#" Value="public event EventHandler AlignmentChanged;" /><MemberType>Event</MemberType><ReturnValue><ReturnType>System.EventHandler</ReturnType></ReturnValue><Docs><remarks><attribution license="cc4" from="Microsoft" modified="false" /><para>For more information about handling events, see <format type="text/html"><a href="01E4F1BC-E55E-413F-98C7-6588493E5F67">[&lt;topic://cpconEventsOverview&gt;]</a></format>.</para></remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Occurs when the <see cref="P:System.Windows.Forms.DataGridColumnStyle.Alignment" /> property value changes.</para></summary></Docs><AssemblyInfo><AssemblyVersion>1.0.5000.0</AssemblyVersion><AssemblyVersion>2.0.0.0</AssemblyVersion></AssemblyInfo></Member><Member MemberName="BeginUpdate"><MemberSignature Language="C#" Value="protected void BeginUpdate ();" /><MemberType>Method</MemberType><ReturnValue><ReturnType>System.Void</ReturnType></ReturnValue><Parameters /><Docs><remarks><attribution license="cc4" from="Microsoft" modified="false" /><para>When many changes are made to the appearance of a <see cref="T:System.Windows.Forms.DataGrid" /> control (whether the changes are in the attributes of the column or the data displayed by the control), you should invoke the <see cref="M:System.Windows.Forms.DataGridColumnStyle.BeginUpdate" /> method to temporarily freeze the drawing of the control. This results in less distraction to the user, and a performance gain. After all updates have been made, invoke the <see cref="M:System.Windows.Forms.DataGridColumnStyle.EndUpdate" /> method to resume drawing of the control.</para></remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Suspends the painting of the column until the <see cref="M:System.Windows.Forms.DataGridColumnStyle.EndUpdate" /> method is called.</para></summary></Docs><AssemblyInfo><AssemblyVersion>1.0.5000.0</AssemblyVersion><AssemblyVersion>2.0.0.0</AssemblyVersion></AssemblyInfo></Member><Member MemberName="CheckValidDataSource"><MemberSignature Language="C#" Value="protected void CheckValidDataSource (System.Windows.Forms.CurrencyManager value);" /><MemberType>Method</MemberType><ReturnValue><ReturnType>System.Void</ReturnType></ReturnValue><Parameters><Parameter Name="value" Type="System.Windows.Forms.CurrencyManager" /></Parameters><Docs><remarks>To be added.</remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Throws an exception if the <see cref="T:System.Windows.Forms.DataGrid" /> does not have a valid data source, or if this column is not mapped to a valid property in the data source.</para></summary><param name="value"><attribution license="cc4" from="Microsoft" modified="false" />A <see cref="T:System.Windows.Forms.CurrencyManager" /> to check. </param></Docs><AssemblyInfo><AssemblyVersion>1.0.5000.0</AssemblyVersion><AssemblyVersion>2.0.0.0</AssemblyVersion></AssemblyInfo></Member><Member MemberName="ColumnStartedEditing"><MemberSignature Language="C#" Value="protected virtual void ColumnStartedEditing (System.Windows.Forms.Control editingControl);" /><MemberType>Method</MemberType><AssemblyInfo><AssemblyVersion>1.0.5000.0</AssemblyVersion><AssemblyVersion>2.0.0.0</AssemblyVersion></AssemblyInfo><ReturnValue><ReturnType>System.Void</ReturnType></ReturnValue><Parameters><Parameter Name="editingControl" Type="System.Windows.Forms.Control" /></Parameters><Docs><remarks><attribution license="cc4" from="Microsoft" modified="false" /><para>When called, the <see cref="M:System.Windows.Forms.IDataGridColumnStyleEditingNotificationService.ColumnStartedEditing(System.Windows.Forms.Control)" /> method allows the <see cref="T:System.Windows.Forms.DataGrid" /> control to show a pencil in the row header indicating the row is being edited.</para></remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Informs the <see cref="T:System.Windows.Forms.DataGrid" /> that the user has begun editing the column.</para></summary><param name="editingControl"><attribution license="cc4" from="Microsoft" modified="false" />The <see cref="T:System.Windows.Forms.Control" /> that hosted by the column. </param></Docs></Member><Member MemberName="Commit"><MemberSignature Language="C#" Value="protected abstract bool Commit (System.Windows.Forms.CurrencyManager dataSource, int rowNum);" /><MemberType>Method</MemberType><AssemblyInfo><AssemblyVersion>1.0.5000.0</AssemblyVersion><AssemblyVersion>2.0.0.0</AssemblyVersion></AssemblyInfo><ReturnValue><ReturnType>System.Boolean</ReturnType></ReturnValue><Parameters><Parameter Name="dataSource" Type="System.Windows.Forms.CurrencyManager" /><Parameter Name="rowNum" Type="System.Int32" /></Parameters><Docs><remarks>To be added.</remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>When overridden in a derived class, initiates a request to complete an editing procedure.</para></summary><returns><attribution license="cc4" from="Microsoft" modified="false" /><para>true if the editing procedure committed successfully; otherwise, false.</para></returns><param name="dataSource"><attribution license="cc4" from="Microsoft" modified="false" />The <see cref="T:System.Windows.Forms.CurrencyManager" /> for the <see cref="T:System.Windows.Forms.DataGridColumnStyle" />. </param><param name="rowNum"><attribution license="cc4" from="Microsoft" modified="false" />The number of the row being edited. </param></Docs></Member><Member MemberName="ConcedeFocus"><MemberSignature Language="C#" Value="protected virtual void ConcedeFocus ();" /><MemberType>Method</MemberType><AssemblyInfo><AssemblyVersion>1.0.5000.0</AssemblyVersion><AssemblyVersion>2.0.0.0</AssemblyVersion></AssemblyInfo><ReturnValue><ReturnType>System.Void</ReturnType></ReturnValue><Parameters /><Docs><remarks><attribution license="cc4" from="Microsoft" modified="false" /><para>Use this method to determine when a further action is required in a derived class. For example, this method is overridden by the <see cref="T:System.Windows.Forms.DataGridTextBoxColumn" /> to hide the <see cref="T:System.Windows.Forms.DataGridTextBox" />.</para></remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Notifies a column that it must relinquish the focus to the control it is hosting.</para></summary></Docs></Member><Member MemberName="CreateHeaderAccessibleObject"><MemberSignature Language="C#" Value="protected virtual System.Windows.Forms.AccessibleObject CreateHeaderAccessibleObject ();" /><MemberType>Method</MemberType><ReturnValue><ReturnType>System.Windows.Forms.AccessibleObject</ReturnType></ReturnValue><Parameters /><Docs><remarks><attribution license="cc4" from="Microsoft" modified="false" /><para>This property is called by a <see cref="T:System.Windows.Forms.DataGridTableStyle" /> when its <see cref="T:System.Windows.Forms.DataGrid" /> property changes. This property is required because any child controls hosted by a <see cref="T:System.Windows.Forms.DataGridColumnStyle" /> must be added to the <see cref="T:System.Windows.Forms.DataGrid" /> control's ControlCollection.</para></remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Gets the <see cref="T:System.Windows.Forms.AccessibleObject" /> for the column.</para></summary><returns><attribution license="cc4" from="Microsoft" modified="false" /><para>An <see cref="T:System.Windows.Forms.AccessibleObject" /> for the column.</para></returns></Docs><AssemblyInfo><AssemblyVersion>1.0.5000.0</AssemblyVersion><AssemblyVersion>2.0.0.0</AssemblyVersion></AssemblyInfo></Member><Member MemberName="DataGridTableStyle"><MemberSignature Language="C#" Value="public virtual System.Windows.Forms.DataGridTableStyle DataGridTableStyle { get; }" /><MemberType>Property</MemberType><Attributes><Attribute><AttributeName>System.ComponentModel.Browsable(false)</AttributeName></Attribute></Attributes><ReturnValue><ReturnType>System.Windows.Forms.DataGridTableStyle</ReturnType></ReturnValue><Docs><value>To be added.</value><remarks>To be added.</remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Gets the <see cref="T:System.Windows.Forms.DataGridTableStyle" /> for the column.</para></summary></Docs><AssemblyInfo><AssemblyVersion>1.0.5000.0</AssemblyVersion><AssemblyVersion>2.0.0.0</AssemblyVersion></AssemblyInfo></Member><Member MemberName="Edit"><MemberSignature Language="C#" Value="protected virtual void Edit (System.Windows.Forms.CurrencyManager source, int rowNum, System.Drawing.Rectangle bounds, bool readOnly);" /><MemberType>Method</MemberType><AssemblyInfo><AssemblyVersion>1.0.5000.0</AssemblyVersion><AssemblyVersion>2.0.0.0</AssemblyVersion></AssemblyInfo><ReturnValue><ReturnType>System.Void</ReturnType></ReturnValue><Parameters><Parameter Name="source" Type="System.Windows.Forms.CurrencyManager" /><Parameter Name="rowNum" Type="System.Int32" /><Parameter Name="bounds" Type="System.Drawing.Rectangle" /><Parameter Name="readOnly" Type="System.Boolean" /></Parameters><Docs><remarks><attribution license="cc4" from="Microsoft" modified="false" /><para>Typically, the <see cref="M:System.Windows.Forms.DataGridColumnStyle.Edit(System.Windows.Forms.CurrencyManager,System.Int32,System.Drawing.Rectangle,System.Boolean)" /> method sites a control onto the grid at the location of the cell being edited.</para></remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Prepares a cell for editing.</para></summary><param name="source"><attribution license="cc4" from="Microsoft" modified="false" />The <see cref="T:System.Windows.Forms.CurrencyManager" /> for the <see cref="T:System.Windows.Forms.DataGridColumnStyle" />. </param><param name="rowNum"><attribution license="cc4" from="Microsoft" modified="false" />The row number to edit. </param><param name="bounds"><attribution license="cc4" from="Microsoft" modified="false" />The bounding <see cref="T:System.Drawing.Rectangle" /> in which the control is to be sited. </param><param name="readOnly"><attribution license="cc4" from="Microsoft" modified="false" />A value indicating whether the column is a read-only. true if the value is read-only; otherwise, false. </param></Docs></Member><Member MemberName="Edit"><MemberSignature Language="C#" Value="protected virtual void Edit (System.Windows.Forms.CurrencyManager source, int rowNum, System.Drawing.Rectangle bounds, bool readOnly, string displayText);" /><MemberType>Method</MemberType><AssemblyInfo><AssemblyVersion>1.0.5000.0</AssemblyVersion><AssemblyVersion>2.0.0.0</AssemblyVersion></AssemblyInfo><ReturnValue><ReturnType>System.Void</ReturnType></ReturnValue><Parameters><Parameter Name="source" Type="System.Windows.Forms.CurrencyManager" /><Parameter Name="rowNum" Type="System.Int32" /><Parameter Name="bounds" Type="System.Drawing.Rectangle" /><Parameter Name="readOnly" Type="System.Boolean" /><Parameter Name="displayText" Type="System.String" /></Parameters><Docs><remarks><attribution license="cc4" from="Microsoft" modified="false" /><para>Typically, the <see cref="M:System.Windows.Forms.DataGridColumnStyle.Edit(System.Windows.Forms.CurrencyManager,System.Int32,System.Drawing.Rectangle,System.Boolean)" /> method sites a control onto the grid at the location of the cell being edited.</para></remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Prepares the cell for editing using the specified <see cref="T:System.Windows.Forms.CurrencyManager" />, row number, and <see cref="T:System.Drawing.Rectangle" /> parameters.</para></summary><param name="source"><attribution license="cc4" from="Microsoft" modified="false" />The <see cref="T:System.Windows.Forms.CurrencyManager" /> for the <see cref="T:System.Windows.Forms.DataGridColumnStyle" />. </param><param name="rowNum"><attribution license="cc4" from="Microsoft" modified="false" />The row number in this column which is being edited. </param><param name="bounds"><attribution license="cc4" from="Microsoft" modified="false" />The <see cref="T:System.Drawing.Rectangle" /> in which the control is to be sited. </param><param name="readOnly"><attribution license="cc4" from="Microsoft" modified="false" />A value indicating whether the column is a read-only. true if the value is read-only; otherwise, false. </param><param name="displayText"><attribution license="cc4" from="Microsoft" modified="false" />The text to display in the control. </param></Docs></Member><Member MemberName="Edit"><MemberSignature Language="C#" Value="protected abstract void Edit (System.Windows.Forms.CurrencyManager source, int rowNum, System.Drawing.Rectangle bounds, bool readOnly, string displayText, bool cellIsVisible);" /><MemberType>Method</MemberType><AssemblyInfo><AssemblyVersion>1.0.5000.0</AssemblyVersion><AssemblyVersion>2.0.0.0</AssemblyVersion></AssemblyInfo><ReturnValue><ReturnType>System.Void</ReturnType></ReturnValue><Parameters><Parameter Name="source" Type="System.Windows.Forms.CurrencyManager" /><Parameter Name="rowNum" Type="System.Int32" /><Parameter Name="bounds" Type="System.Drawing.Rectangle" /><Parameter Name="readOnly" Type="System.Boolean" /><Parameter Name="displayText" Type="System.String" /><Parameter Name="cellIsVisible" Type="System.Boolean" /></Parameters><Docs><remarks><attribution license="cc4" from="Microsoft" modified="false" /><para>Typically, the <see cref="M:System.Windows.Forms.DataGridColumnStyle.Edit(System.Windows.Forms.CurrencyManager,System.Int32,System.Drawing.Rectangle,System.Boolean)" /> method sites a control onto the grid at the location of the cell being edited.</para></remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>When overridden in a deriving class, prepares a cell for editing.</para></summary><param name="source"><attribution license="cc4" from="Microsoft" modified="false" />The <see cref="T:System.Windows.Forms.CurrencyManager" /> for the <see cref="T:System.Windows.Forms.DataGridColumnStyle" />. </param><param name="rowNum"><attribution license="cc4" from="Microsoft" modified="false" />The row number in this column which is being edited. </param><param name="bounds"><attribution license="cc4" from="Microsoft" modified="false" />The <see cref="T:System.Drawing.Rectangle" /> in which the control is to be sited. </param><param name="readOnly"><attribution license="cc4" from="Microsoft" modified="false" />A value indicating whether the column is a read-only. true if the value is read-only; otherwise, false. </param><param name="displayText"><attribution license="cc4" from="Microsoft" modified="false" />The text to display in the control. </param><param name="cellIsVisible"><attribution license="cc4" from="Microsoft" modified="false" />A value indicating whether the cell is visible. true if the cell is visible; otherwise, false. </param></Docs></Member><Member MemberName="EndUpdate"><MemberSignature Language="C#" Value="protected void EndUpdate ();" /><MemberType>Method</MemberType><ReturnValue><ReturnType>System.Void</ReturnType></ReturnValue><Parameters /><Docs><remarks><attribution license="cc4" from="Microsoft" modified="false" /><para>When many changes are made to the appearance of a <see cref="T:System.Windows.Forms.DataGrid" /> control (whether the changes are in the attributes of the column or the data displayed by the control), you should invoke the <see cref="M:System.Windows.Forms.DataGridColumnStyle.BeginUpdate" /> method to temporarily freeze the drawing of the control. This results in less distraction to the user, and a performance gain. After all updates have been made, invoke the <see cref="M:System.Windows.Forms.DataGridColumnStyle.EndUpdate" /> method to resume drawing of the control.</para></remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Resumes the painting of columns suspended by calling the <see cref="M:System.Windows.Forms.DataGridColumnStyle.BeginUpdate" /> method.</para></summary></Docs><AssemblyInfo><AssemblyVersion>1.0.5000.0</AssemblyVersion><AssemblyVersion>2.0.0.0</AssemblyVersion></AssemblyInfo></Member><Member MemberName="EnterNullValue"><MemberSignature Language="C#" Value="protected virtual void EnterNullValue ();" /><MemberType>Method</MemberType><AssemblyInfo><AssemblyVersion>1.0.5000.0</AssemblyVersion><AssemblyVersion>2.0.0.0</AssemblyVersion></AssemblyInfo><ReturnValue><ReturnType>System.Void</ReturnType></ReturnValue><Parameters /><Docs><remarks><attribution license="cc4" from="Microsoft" modified="false" /><para>This method is called when the user presses ALT+0 to allow a column to enter the appropriate null value. For example, when called on a <see cref="T:System.Windows.Forms.DataGridTextBoxColumn" />, the appropriate <see cref="P:System.Windows.Forms.DataGridColumnStyle.NullText" /> value is inserted into the column.</para><para>The <see cref="M:System.Windows.Forms.DataGridColumnStyle.EnterNullValue" /> has no default behavior. When inheriting from <see cref="T:System.Windows.Forms.DataGridColumnStyle" />, override the method to enter null in a column.</para></remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Enters a <see cref="F:System.DBNull.Value" /> into the column.</para></summary></Docs></Member><Member MemberName="FontChanged"><MemberSignature Language="C#" Value="public event EventHandler FontChanged;" /><MemberType>Event</MemberType><ReturnValue><ReturnType>System.EventHandler</ReturnType></ReturnValue><Docs><remarks><attribution license="cc4" from="Microsoft" modified="false" /><para>For more information about handling events, see <format type="text/html"><a href="01E4F1BC-E55E-413F-98C7-6588493E5F67">[&lt;topic://cpconEventsOverview&gt;]</a></format>.</para></remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Occurs when the column's font changes.</para></summary></Docs><AssemblyInfo><AssemblyVersion>1.0.5000.0</AssemblyVersion><AssemblyVersion>2.0.0.0</AssemblyVersion></AssemblyInfo></Member><Member MemberName="FontHeight"><MemberSignature Language="C#" Value="protected int FontHeight { get; }" /><MemberType>Property</MemberType><ReturnValue><ReturnType>System.Int32</ReturnType></ReturnValue><Docs><value>To be added.</value><remarks>To be added.</remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Gets the height of the column's font.</para></summary></Docs><AssemblyInfo><AssemblyVersion>1.0.5000.0</AssemblyVersion><AssemblyVersion>2.0.0.0</AssemblyVersion></AssemblyInfo></Member><Member MemberName="GetColumnValueAtRow"><MemberSignature Language="C#" Value="protected virtual object GetColumnValueAtRow (System.Windows.Forms.CurrencyManager source, int rowNum);" /><MemberType>Method</MemberType><AssemblyInfo><AssemblyVersion>1.0.5000.0</AssemblyVersion><AssemblyVersion>2.0.0.0</AssemblyVersion></AssemblyInfo><ReturnValue><ReturnType>System.Object</ReturnType></ReturnValue><Parameters><Parameter Name="source" Type="System.Windows.Forms.CurrencyManager" /><Parameter Name="rowNum" Type="System.Int32" /></Parameters><Docs><remarks><attribution license="cc4" from="Microsoft" modified="false" /><para>If the data source for the column is a <see cref="T:System.Data.DataTable" />, use the <see cref="E:System.Data.DataTable.ColumnChanging" /> or <see cref="E:System.Data.DataTable.RowChanging" /> events to determine when a row or column value has changed.</para></remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Gets the value in the specified row from the specified <see cref="T:System.Windows.Forms.CurrencyManager" />.</para></summary><returns><attribution license="cc4" from="Microsoft" modified="false" /><para>An <see cref="T:System.Object" /> containing the value.</para></returns><param name="source"><attribution license="cc4" from="Microsoft" modified="false" />The <see cref="T:System.Windows.Forms.CurrencyManager" /> containing the data. </param><param name="rowNum"><attribution license="cc4" from="Microsoft" modified="false" />The row number containing the data. </param></Docs></Member><Member MemberName="GetMinimumHeight"><MemberSignature Language="C#" Value="protected abstract int GetMinimumHeight ();" /><MemberType>Method</MemberType><AssemblyInfo><AssemblyVersion>1.0.5000.0</AssemblyVersion><AssemblyVersion>2.0.0.0</AssemblyVersion></AssemblyInfo><ReturnValue><ReturnType>System.Int32</ReturnType></ReturnValue><Parameters /><Docs><remarks>To be added.</remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>When overridden in a derived class, gets the minimum height of a row.</para></summary><returns><attribution license="cc4" from="Microsoft" modified="false" /><para>The minimum height of a row.</para></returns></Docs></Member><Member MemberName="GetPreferredHeight"><MemberSignature Language="C#" Value="protected abstract int GetPreferredHeight (System.Drawing.Graphics g, object value);" /><MemberType>Method</MemberType><AssemblyInfo><AssemblyVersion>1.0.5000.0</AssemblyVersion><AssemblyVersion>2.0.0.0</AssemblyVersion></AssemblyInfo><ReturnValue><ReturnType>System.Int32</ReturnType></ReturnValue><Parameters><Parameter Name="g" Type="System.Drawing.Graphics" /><Parameter Name="value" Type="System.Object" /></Parameters><Docs><remarks><attribution license="cc4" from="Microsoft" modified="false" /><para>The <see cref="M:System.Windows.Forms.DataGridColumnStyle.GetPreferredSize(System.Drawing.Graphics,System.Object)" /> will usually be invoked from a mouse down event to resize a column's height for a long string.</para></remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>When overridden in a derived class, gets the height used for automatically resizing columns.</para></summary><returns><attribution license="cc4" from="Microsoft" modified="false" /><para>The height used for auto resizing a cell.</para></returns><param name="g"><attribution license="cc4" from="Microsoft" modified="false" />A <see cref="T:System.Drawing.Graphics" /> object. </param><param name="value"><attribution license="cc4" from="Microsoft" modified="false" />An object value for which you want to know the screen height and width. </param></Docs></Member><Member MemberName="GetPreferredSize"><MemberSignature Language="C#" Value="protected abstract System.Drawing.Size GetPreferredSize (System.Drawing.Graphics g, object value);" /><MemberType>Method</MemberType><AssemblyInfo><AssemblyVersion>1.0.5000.0</AssemblyVersion><AssemblyVersion>2.0.0.0</AssemblyVersion></AssemblyInfo><ReturnValue><ReturnType>System.Drawing.Size</ReturnType></ReturnValue><Parameters><Parameter Name="g" Type="System.Drawing.Graphics" /><Parameter Name="value" Type="System.Object" /></Parameters><Docs><remarks><attribution license="cc4" from="Microsoft" modified="false" /><para>Use <see cref="M:System.Windows.Forms.DataGridColumnStyle.GetPreferredSize(System.Drawing.Graphics,System.Object)" /> to determine the width a column should resize to, given a particular string or numeral.</para></remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>When overridden in a derived class, gets the width and height of the specified value. The width and height are used when the user navigates to <see cref="T:System.Windows.Forms.DataGridTableStyle" /> using the <see cref="T:System.Windows.Forms.DataGridColumnStyle" />.</para></summary><returns><attribution license="cc4" from="Microsoft" modified="false" /><para>A <see cref="T:System.Drawing.Size" /> that contains the dimensions of the cell.</para></returns><param name="g"><attribution license="cc4" from="Microsoft" modified="false" />A <see cref="T:System.Drawing.Graphics" /> object. </param><param name="value"><attribution license="cc4" from="Microsoft" modified="false" />An object value for which you want to know the screen height and width. </param></Docs></Member><Member MemberName="HeaderAccessibleObject"><MemberSignature Language="C#" Value="public System.Windows.Forms.AccessibleObject HeaderAccessibleObject { get; }" /><MemberType>Property</MemberType><Attributes><Attribute><AttributeName>System.ComponentModel.Browsable(false)</AttributeName></Attribute></Attributes><ReturnValue><ReturnType>System.Windows.Forms.AccessibleObject</ReturnType></ReturnValue><Docs><value>To be added.</value><remarks>To be added.</remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Gets the <see cref="T:System.Windows.Forms.AccessibleObject" /> for the column.</para></summary></Docs><AssemblyInfo><AssemblyVersion>1.0.5000.0</AssemblyVersion><AssemblyVersion>2.0.0.0</AssemblyVersion></AssemblyInfo></Member><Member MemberName="HeaderText"><MemberSignature Language="C#" Value="public virtual string HeaderText { set; get; }" /><MemberType>Property</MemberType><Attributes><Attribute><AttributeName>System.ComponentModel.Localizable(true)</AttributeName></Attribute></Attributes><ReturnValue><ReturnType>System.String</ReturnType></ReturnValue><Docs><value>To be added.</value><remarks><attribution license="cc4" from="Microsoft" modified="false" /><para>The <see cref="P:System.Windows.Forms.DataGridColumnStyle.HeaderText" /> property is typically used to display a caption that is different from the <see cref="P:System.Windows.Forms.DataGridColumnStyle.MappingName" /> value when the <see cref="P:System.Windows.Forms.DataGridColumnStyle.MappingName" /> value isn't easily understandable. For example, you can change the <see cref="P:System.Windows.Forms.DataGridColumnStyle.HeaderText" /> to "First Name" when the <see cref="P:System.Windows.Forms.DataGridColumnStyle.MappingName" /> value is "FName".</para></remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Gets or sets the text of the column header.</para></summary></Docs><AssemblyInfo><AssemblyVersion>1.0.5000.0</AssemblyVersion><AssemblyVersion>2.0.0.0</AssemblyVersion></AssemblyInfo></Member><Member MemberName="HeaderTextChanged"><MemberSignature Language="C#" Value="public event EventHandler HeaderTextChanged;" /><MemberType>Event</MemberType><ReturnValue><ReturnType>System.EventHandler</ReturnType></ReturnValue><Docs><remarks><attribution license="cc4" from="Microsoft" modified="false" /><para>For more information about handling events, see <format type="text/html"><a href="01E4F1BC-E55E-413F-98C7-6588493E5F67">[&lt;topic://cpconEventsOverview&gt;]</a></format>.</para></remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Occurs when the <see cref="P:System.Windows.Forms.DataGridColumnStyle.HeaderText" /> property value changes.</para></summary></Docs><AssemblyInfo><AssemblyVersion>1.0.5000.0</AssemblyVersion><AssemblyVersion>2.0.0.0</AssemblyVersion></AssemblyInfo></Member><Member MemberName="Invalidate"><MemberSignature Language="C#" Value="protected virtual void Invalidate ();" /><MemberType>Method</MemberType><ReturnValue><ReturnType>System.Void</ReturnType></ReturnValue><Parameters /><Docs><remarks><attribution license="cc4" from="Microsoft" modified="false" /><para>The <see cref="M:System.Windows.Forms.DataGridColumnStyle.Invalidate" /> method is typically called after an editing operation is interrupted. For example, you can call the method when implementing the <see cref="M:System.Windows.Forms.DataGridColumnStyle.Abort(System.Int32)" /> method.</para></remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Redraws the column and causes a paint message to be sent to the control.</para></summary></Docs><AssemblyInfo><AssemblyVersion>1.0.5000.0</AssemblyVersion><AssemblyVersion>2.0.0.0</AssemblyVersion></AssemblyInfo></Member><Member MemberName="MappingName"><MemberSignature Language="C#" Value="public string MappingName { set; get; }" /><MemberType>Property</MemberType><Attributes><Attribute><AttributeName>System.ComponentModel.DefaultValue("")</AttributeName></Attribute><Attribute><AttributeName>System.ComponentModel.Localizable(true)</AttributeName></Attribute><Attribute><AttributeName>System.ComponentModel.Editor("System.Windows.Forms.Design.DataGridColumnStyleMappingNameEditor, System.Design, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a", typeof(System.Drawing.Design.UITypeEditor))</AttributeName></Attribute></Attributes><ReturnValue><ReturnType>System.String</ReturnType></ReturnValue><Docs><value>To be added.</value><remarks><attribution license="cc4" from="Microsoft" modified="false" /><para>The comparison used to match the <see cref="P:System.Windows.Forms.DataGridColumnStyle.MappingName" /> to the data member is case-insensitive.</para><para>This <see cref="T:System.Windows.Forms.DataGridColumnStyle" /> is used to render the data in the indicated data member whenever the data source matches the one indicated by the <see cref="P:System.Windows.Forms.DataGridTableStyle.MappingName" /> property of the <see cref="T:System.Windows.Forms.DataGridTableStyle" /> that contains this column style.</para><para>The <see cref="P:System.Windows.Forms.DataGridColumnStyle.MappingName" /> property is usually set to the <see cref="P:System.Data.DataColumn.ColumnName" /> of a <see cref="T:System.Data.DataColumn" />. </para></remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Gets or sets the name of the data member to map the column style to.</para></summary></Docs><AssemblyInfo><AssemblyVersion>1.0.5000.0</AssemblyVersion><AssemblyVersion>2.0.0.0</AssemblyVersion></AssemblyInfo></Member><Member MemberName="MappingNameChanged"><MemberSignature Language="C#" Value="public event EventHandler MappingNameChanged;" /><MemberType>Event</MemberType><ReturnValue><ReturnType>System.EventHandler</ReturnType></ReturnValue><Docs><remarks><attribution license="cc4" from="Microsoft" modified="false" /><para>For more information about handling events, see <format type="text/html"><a href="01E4F1BC-E55E-413F-98C7-6588493E5F67">[&lt;topic://cpconEventsOverview&gt;]</a></format>.</para></remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Occurs when the <see cref="P:System.Windows.Forms.DataGridColumnStyle.MappingName" /> value changes.</para></summary></Docs><AssemblyInfo><AssemblyVersion>1.0.5000.0</AssemblyVersion><AssemblyVersion>2.0.0.0</AssemblyVersion></AssemblyInfo></Member><Member MemberName="NullText"><MemberSignature Language="C#" Value="public virtual string NullText { set; get; }" /><MemberType>Property</MemberType><Attributes><Attribute><AttributeName>System.ComponentModel.Localizable(true)</AttributeName></Attribute></Attributes><ReturnValue><ReturnType>System.String</ReturnType></ReturnValue><Docs><value>To be added.</value><remarks><attribution license="cc4" from="Microsoft" modified="false" /><para>The <see cref="T:System.Data.DataColumn" /> class's <see cref="P:System.Data.DataColumn.AllowDBNull" /> property determines if a column can contain null values.</para></remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Gets or sets the text that is displayed when the column contains null.</para></summary></Docs><AssemblyInfo><AssemblyVersion>1.0.5000.0</AssemblyVersion><AssemblyVersion>2.0.0.0</AssemblyVersion></AssemblyInfo></Member><Member MemberName="NullTextChanged"><MemberSignature Language="C#" Value="public event EventHandler NullTextChanged;" /><MemberType>Event</MemberType><ReturnValue><ReturnType>System.EventHandler</ReturnType></ReturnValue><Docs><remarks><attribution license="cc4" from="Microsoft" modified="false" /><para>For more information about handling events, see <format type="text/html"><a href="01E4F1BC-E55E-413F-98C7-6588493E5F67">[&lt;topic://cpconEventsOverview&gt;]</a></format>.</para></remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Occurs when the <see cref="P:System.Windows.Forms.DataGridColumnStyle.NullText" /> value changes.</para></summary></Docs><AssemblyInfo><AssemblyVersion>1.0.5000.0</AssemblyVersion><AssemblyVersion>2.0.0.0</AssemblyVersion></AssemblyInfo></Member><Member MemberName="Paint"><MemberSignature Language="C#" Value="protected abstract void Paint (System.Drawing.Graphics g, System.Drawing.Rectangle bounds, System.Windows.Forms.CurrencyManager source, int rowNum);" /><MemberType>Method</MemberType><AssemblyInfo><AssemblyVersion>1.0.5000.0</AssemblyVersion><AssemblyVersion>2.0.0.0</AssemblyVersion></AssemblyInfo><ReturnValue><ReturnType>System.Void</ReturnType></ReturnValue><Parameters><Parameter Name="g" Type="System.Drawing.Graphics" /><Parameter Name="bounds" Type="System.Drawing.Rectangle" /><Parameter Name="source" Type="System.Windows.Forms.CurrencyManager" /><Parameter Name="rowNum" Type="System.Int32" /></Parameters><Docs><remarks>To be added.</remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Paints the <see cref="T:System.Windows.Forms.DataGridColumnStyle" /> with the specified <see cref="T:System.Drawing.Graphics" />, <see cref="T:System.Drawing.Rectangle" />, <see cref="T:System.Windows.Forms.CurrencyManager" />, and row number.</para></summary><param name="g"><attribution license="cc4" from="Microsoft" modified="false" />The <see cref="T:System.Drawing.Graphics" /> to draw to. </param><param name="bounds"><attribution license="cc4" from="Microsoft" modified="false" />The bounding <see cref="T:System.Drawing.Rectangle" /> to paint into. </param><param name="source"><attribution license="cc4" from="Microsoft" modified="false" />The <see cref="T:System.Windows.Forms.CurrencyManager" /> of the <see cref="T:System.Windows.Forms.DataGrid" /> control the column belongs to. </param><param name="rowNum"><attribution license="cc4" from="Microsoft" modified="false" />The number of the row in the underlying data being referred to. </param></Docs></Member><Member MemberName="Paint"><MemberSignature Language="C#" Value="protected abstract void Paint (System.Drawing.Graphics g, System.Drawing.Rectangle bounds, System.Windows.Forms.CurrencyManager source, int rowNum, bool alignToRight);" /><MemberType>Method</MemberType><AssemblyInfo><AssemblyVersion>1.0.5000.0</AssemblyVersion><AssemblyVersion>2.0.0.0</AssemblyVersion></AssemblyInfo><ReturnValue><ReturnType>System.Void</ReturnType></ReturnValue><Parameters><Parameter Name="g" Type="System.Drawing.Graphics" /><Parameter Name="bounds" Type="System.Drawing.Rectangle" /><Parameter Name="source" Type="System.Windows.Forms.CurrencyManager" /><Parameter Name="rowNum" Type="System.Int32" /><Parameter Name="alignToRight" Type="System.Boolean" /></Parameters><Docs><remarks>To be added.</remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>When overridden in a derived class, paints a <see cref="T:System.Windows.Forms.DataGridColumnStyle" /> with the specified <see cref="T:System.Drawing.Graphics" />, <see cref="T:System.Drawing.Rectangle" />, <see cref="T:System.Windows.Forms.CurrencyManager" />, row number, and alignment.</para></summary><param name="g"><attribution license="cc4" from="Microsoft" modified="false" />The <see cref="T:System.Drawing.Graphics" /> to draw to. </param><param name="bounds"><attribution license="cc4" from="Microsoft" modified="false" />The bounding <see cref="T:System.Drawing.Rectangle" /> to paint into. </param><param name="source"><attribution license="cc4" from="Microsoft" modified="false" />The <see cref="T:System.Windows.Forms.CurrencyManager" /> of the <see cref="T:System.Windows.Forms.DataGrid" /> control the column belongs to. </param><param name="rowNum"><attribution license="cc4" from="Microsoft" modified="false" />The number of the row in the underlying data being referred to. </param><param name="alignToRight"><attribution license="cc4" from="Microsoft" modified="false" />A value indicating whether to align the column's content to the right. true if the content should be aligned to the right; otherwise false. </param></Docs></Member><Member MemberName="Paint"><MemberSignature Language="C#" Value="protected virtual void Paint (System.Drawing.Graphics g, System.Drawing.Rectangle bounds, System.Windows.Forms.CurrencyManager source, int rowNum, System.Drawing.Brush backBrush, System.Drawing.Brush foreBrush, bool alignToRight);" /><MemberType>Method</MemberType><AssemblyInfo><AssemblyVersion>1.0.5000.0</AssemblyVersion><AssemblyVersion>2.0.0.0</AssemblyVersion></AssemblyInfo><ReturnValue><ReturnType>System.Void</ReturnType></ReturnValue><Parameters><Parameter Name="g" Type="System.Drawing.Graphics" /><Parameter Name="bounds" Type="System.Drawing.Rectangle" /><Parameter Name="source" Type="System.Windows.Forms.CurrencyManager" /><Parameter Name="rowNum" Type="System.Int32" /><Parameter Name="backBrush" Type="System.Drawing.Brush" /><Parameter Name="foreBrush" Type="System.Drawing.Brush" /><Parameter Name="alignToRight" Type="System.Boolean" /></Parameters><Docs><remarks>To be added.</remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Paints a <see cref="T:System.Windows.Forms.DataGridColumnStyle" /> with the specified <see cref="T:System.Drawing.Graphics" />, <see cref="T:System.Drawing.Rectangle" />, <see cref="T:System.Windows.Forms.CurrencyManager" />, row number, background color, foreground color, and alignment.</para></summary><param name="g"><attribution license="cc4" from="Microsoft" modified="false" />The <see cref="T:System.Drawing.Graphics" /> to draw to. </param><param name="bounds"><attribution license="cc4" from="Microsoft" modified="false" />The bounding <see cref="T:System.Drawing.Rectangle" /> to paint into. </param><param name="source"><attribution license="cc4" from="Microsoft" modified="false" />The <see cref="T:System.Windows.Forms.CurrencyManager" /> of the <see cref="T:System.Windows.Forms.DataGrid" /> control the column belongs to. </param><param name="rowNum"><attribution license="cc4" from="Microsoft" modified="false" />The number of the row in the underlying data table being referred to. </param><param name="backBrush"><attribution license="cc4" from="Microsoft" modified="false" />A <see cref="T:System.Drawing.Brush" /> used to paint the background color. </param><param name="foreBrush"><attribution license="cc4" from="Microsoft" modified="false" />A <see cref="T:System.Drawing.Color" /> used to paint the foreground color. </param><param name="alignToRight"><attribution license="cc4" from="Microsoft" modified="false" />A value indicating whether to align the content to the right. true if the content is aligned to the right, otherwise, false. </param></Docs></Member><Member MemberName="PropertyDescriptor"><MemberSignature Language="C#" Value="public virtual System.ComponentModel.PropertyDescriptor PropertyDescriptor { set; get; }" /><MemberType>Property</MemberType><Attributes><Attribute><AttributeName>System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Advanced)</AttributeName></Attribute><Attribute><AttributeName>System.ComponentModel.DefaultValue(null)</AttributeName></Attribute><Attribute><AttributeName>System.ComponentModel.Browsable(false)</AttributeName></Attribute></Attributes><ReturnValue><ReturnType>System.ComponentModel.PropertyDescriptor</ReturnType></ReturnValue><Docs><value>To be added.</value><remarks><attribution license="cc4" from="Microsoft" modified="false" /><para>The <see cref="T:System.ComponentModel.PropertyDescriptor" /> for a column is set using the <see cref="M:System.Windows.Forms.BindingManagerBase.GetItemProperties" /> method of the <see cref="T:System.Windows.Forms.BindingManagerBase" />. See the <see cref="M:System.Windows.Forms.DataGridColumnStyle.#ctor" /> constructor for an example of using the <see cref="T:System.ComponentModel.PropertyDescriptor" /> to create a new <see cref="T:System.Windows.Forms.DataGridColumnStyle" />.</para></remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Gets or sets the <see cref="T:System.ComponentModel.PropertyDescriptor" /> that determines the attributes of data displayed by the <see cref="T:System.Windows.Forms.DataGridColumnStyle" />.</para></summary></Docs><AssemblyInfo><AssemblyVersion>1.0.5000.0</AssemblyVersion><AssemblyVersion>2.0.0.0</AssemblyVersion></AssemblyInfo></Member><Member MemberName="PropertyDescriptorChanged"><MemberSignature Language="C#" Value="public event EventHandler PropertyDescriptorChanged;" /><MemberType>Event</MemberType><Attributes><Attribute><AttributeName>System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Advanced)</AttributeName></Attribute><Attribute><AttributeName>System.ComponentModel.Browsable(false)</AttributeName></Attribute></Attributes><ReturnValue><ReturnType>System.EventHandler</ReturnType></ReturnValue><Docs><remarks><attribution license="cc4" from="Microsoft" modified="false" /><para>For more information about handling events, see <format type="text/html"><a href="01E4F1BC-E55E-413F-98C7-6588493E5F67">[&lt;topic://cpconEventsOverview&gt;]</a></format>.</para></remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Occurs when the <see cref="P:System.Windows.Forms.DataGridColumnStyle.PropertyDescriptor" /> property value changes.</para></summary></Docs><AssemblyInfo><AssemblyVersion>1.0.5000.0</AssemblyVersion><AssemblyVersion>2.0.0.0</AssemblyVersion></AssemblyInfo></Member><Member MemberName="ReadOnly"><MemberSignature Language="C#" Value="public virtual bool ReadOnly { set; get; }" /><MemberType>Property</MemberType><Attributes><Attribute><AttributeName>System.ComponentModel.DefaultValue(false)</AttributeName></Attribute></Attributes><ReturnValue><ReturnType>System.Boolean</ReturnType></ReturnValue><Docs><value>To be added.</value><remarks><attribution license="cc4" from="Microsoft" modified="false" /><para>Make a column read-only if it contains a primary key or if its value is generated automatically (as when the <see cref="T:System.Data.DataColumn" /> object's <see cref="P:System.Data.DataColumn.AutoIncrement" /> property is set to true).</para><para>Similar read-only properties exist on other classes, each allowing more control over the access to data. For example, the <see cref="T:System.Windows.Forms.DataGrid" /> control can be set to read-only mode by using its <see cref="P:System.Windows.Forms.DataGrid.ReadOnly" /> property; the <see cref="T:System.Windows.Forms.DataGridTableStyle" /> also has a <see cref="P:System.Windows.Forms.DataGridTableStyle.ReadOnly" /> property, and the <see cref="T:System.Data.DataColumn" /> class has a <see cref="P:System.Data.DataColumn.ReadOnly" /> property for restricting data updates.</para></remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Gets or sets a value indicating whether the data in the column can be edited.</para></summary></Docs><AssemblyInfo><AssemblyVersion>1.0.5000.0</AssemblyVersion><AssemblyVersion>2.0.0.0</AssemblyVersion></AssemblyInfo></Member><Member MemberName="ReadOnlyChanged"><MemberSignature Language="C#" Value="public event EventHandler ReadOnlyChanged;" /><MemberType>Event</MemberType><ReturnValue><ReturnType>System.EventHandler</ReturnType></ReturnValue><Docs><remarks><attribution license="cc4" from="Microsoft" modified="false" /><para>For more information about handling events, see <format type="text/html"><a href="01E4F1BC-E55E-413F-98C7-6588493E5F67">[&lt;topic://cpconEventsOverview&gt;]</a></format>.</para></remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Occurs when the <see cref="P:System.Windows.Forms.DataGridColumnStyle.ReadOnly" /> property value changes.</para></summary></Docs><AssemblyInfo><AssemblyVersion>1.0.5000.0</AssemblyVersion><AssemblyVersion>2.0.0.0</AssemblyVersion></AssemblyInfo></Member><Member MemberName="ReleaseHostedControl"><MemberSignature Language="C#" Value="protected virtual void ReleaseHostedControl ();" /><MemberType>Method</MemberType><AssemblyInfo><AssemblyVersion>1.0.5000.0</AssemblyVersion><AssemblyVersion>2.0.0.0</AssemblyVersion></AssemblyInfo><ReturnValue><ReturnType>System.Void</ReturnType></ReturnValue><Parameters /><Docs><remarks><attribution license="cc4" from="Microsoft" modified="false" /><para>If you create a class that derives from <see cref="T:System.Windows.Forms.DataGridColumnStyle" />, you will often use the derived class to host a control that is used to edit data. You should override the <see cref="M:System.Windows.Forms.DataGridColumnStyle.ReleaseHostedControl" /> method to release any references to the control in order to free system resources. For example, the <see cref="T:System.Windows.Forms.DataGridTextBoxColumn" /> derived class uses this method to release the reference to the hosted <see cref="T:System.Windows.Forms.DataGridTextBox" />.</para></remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Allows the column to free resources when the control it hosts is not needed.</para></summary></Docs></Member><Member MemberName="ResetHeaderText"><MemberSignature Language="C#" Value="public void ResetHeaderText ();" /><MemberType>Method</MemberType><ReturnValue><ReturnType>System.Void</ReturnType></ReturnValue><Parameters /><Docs><remarks><attribution license="cc4" from="Microsoft" modified="false" /><para>You typically use this method if you are either creating a designer for the <see cref="T:System.Windows.Forms.DataGrid" />, or creating your own control incorporating the <see cref="T:System.Windows.Forms.DataGrid" />.</para></remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Resets the <see cref="P:System.Windows.Forms.DataGridColumnStyle.HeaderText" /> to its default value, null.</para></summary></Docs><AssemblyInfo><AssemblyVersion>1.0.5000.0</AssemblyVersion><AssemblyVersion>2.0.0.0</AssemblyVersion></AssemblyInfo></Member><Member MemberName="SetColumnValueAtRow"><MemberSignature Language="C#" Value="protected virtual void SetColumnValueAtRow (System.Windows.Forms.CurrencyManager source, int rowNum, object value);" /><MemberType>Method</MemberType><AssemblyInfo><AssemblyVersion>1.0.5000.0</AssemblyVersion><AssemblyVersion>2.0.0.0</AssemblyVersion></AssemblyInfo><ReturnValue><ReturnType>System.Void</ReturnType></ReturnValue><Parameters><Parameter Name="source" Type="System.Windows.Forms.CurrencyManager" /><Parameter Name="rowNum" Type="System.Int32" /><Parameter Name="value" Type="System.Object" /></Parameters><Docs><remarks>To be added.</remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Sets the value in a specified row with the value from a specified <see cref="T:System.Windows.Forms.CurrencyManager" />.</para></summary><param name="source"><attribution license="cc4" from="Microsoft" modified="false" />A <see cref="T:System.Windows.Forms.CurrencyManager" /> associated with the <see cref="T:System.Windows.Forms.DataGridColumnStyle" />. </param><param name="rowNum"><attribution license="cc4" from="Microsoft" modified="false" />The number of the row. </param><param name="value"><attribution license="cc4" from="Microsoft" modified="false" />The value to set. </param></Docs></Member><Member MemberName="SetDataGrid"><MemberSignature Language="C#" Value="protected virtual void SetDataGrid (System.Windows.Forms.DataGrid value);" /><MemberType>Method</MemberType><ReturnValue><ReturnType>System.Void</ReturnType></ReturnValue><Parameters><Parameter Name="value" Type="System.Windows.Forms.DataGrid" /></Parameters><Docs><remarks><attribution license="cc4" from="Microsoft" modified="false" /><para>Typically, you should use the <see cref="M:System.Windows.Forms.DataGridColumnStyle.SetDataGridInColumn(System.Windows.Forms.DataGrid)" /> method.</para></remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Sets the <see cref="T:System.Windows.Forms.DataGrid" /> control that this column belongs to.</para></summary><param name="value"><attribution license="cc4" from="Microsoft" modified="false" />The <see cref="T:System.Windows.Forms.DataGrid" /> control that this column belongs to. </param></Docs><AssemblyInfo><AssemblyVersion>1.0.5000.0</AssemblyVersion><AssemblyVersion>2.0.0.0</AssemblyVersion></AssemblyInfo></Member><Member MemberName="SetDataGridInColumn"><MemberSignature Language="C#" Value="protected virtual void SetDataGridInColumn (System.Windows.Forms.DataGrid value);" /><MemberType>Method</MemberType><ReturnValue><ReturnType>System.Void</ReturnType></ReturnValue><Parameters><Parameter Name="value" Type="System.Windows.Forms.DataGrid" /></Parameters><Docs><remarks><attribution license="cc4" from="Microsoft" modified="false" /><para>This method is typically overridden by derived classes to do special processing when the <see cref="T:System.Windows.Forms.DataGridColumnStyle" /> is added to <see cref="T:System.Windows.Forms.DataGrid" />. For example, the <see cref="T:System.Windows.Forms.DataGridTextBoxColumn" /> uses this method to add the <see cref="T:System.Windows.Forms.DataGridTextBox" /> as a child of the <see cref="T:System.Windows.Forms.DataGrid" />.</para></remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Sets the <see cref="T:System.Windows.Forms.DataGrid" /> for the column.</para></summary><param name="value"><attribution license="cc4" from="Microsoft" modified="false" />A <see cref="T:System.Windows.Forms.DataGrid" />. </param></Docs><AssemblyInfo><AssemblyVersion>1.0.5000.0</AssemblyVersion><AssemblyVersion>2.0.0.0</AssemblyVersion></AssemblyInfo></Member><Member MemberName="System.Windows.Forms.IDataGridColumnStyleEditingNotificationService.ColumnStartedEditing"><MemberSignature Language="C#" Value="void IDataGridColumnStyleEditingNotificationService.ColumnStartedEditing (System.Windows.Forms.Control editingControl);" /><MemberType>Method</MemberType><AssemblyInfo><AssemblyVersion>1.0.5000.0</AssemblyVersion><AssemblyVersion>2.0.0.0</AssemblyVersion></AssemblyInfo><ReturnValue><ReturnType>System.Void</ReturnType></ReturnValue><Parameters><Parameter Name="editingControl" Type="System.Windows.Forms.Control" /></Parameters><Docs><remarks><attribution license="cc4" from="Microsoft" modified="false" /><para>When called, the <see cref="M:System.Windows.Forms.DataGridColumnStyle.ColumnStartedEditing(System.Windows.Forms.Control)" /> method allows the <see cref="T:System.Windows.Forms.DataGrid" /> control to show a pencil in the row header indicating the row is being edited.</para></remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Informs the <see cref="T:System.Windows.Forms.DataGrid" /> control that the user has begun editing the column.</para></summary><param name="editingControl"><attribution license="cc4" from="Microsoft" modified="false" />The <see cref="T:System.Windows.Forms.Control" /> that is editing the column.</param></Docs></Member><Member MemberName="UpdateUI"><MemberSignature Language="C#" Value="protected virtual void UpdateUI (System.Windows.Forms.CurrencyManager source, int rowNum, string displayText);" /><MemberType>Method</MemberType><AssemblyInfo><AssemblyVersion>1.0.5000.0</AssemblyVersion><AssemblyVersion>2.0.0.0</AssemblyVersion></AssemblyInfo><ReturnValue><ReturnType>System.Void</ReturnType></ReturnValue><Parameters><Parameter Name="source" Type="System.Windows.Forms.CurrencyManager" /><Parameter Name="rowNum" Type="System.Int32" /><Parameter Name="displayText" Type="System.String" /></Parameters><Docs><remarks>To be added.</remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Updates the value of a specified row with the given text.</para></summary><param name="source"><attribution license="cc4" from="Microsoft" modified="false" />The <see cref="T:System.Windows.Forms.CurrencyManager" /> associated with the <see cref="T:System.Windows.Forms.DataGridColumnStyle" />. </param><param name="rowNum"><attribution license="cc4" from="Microsoft" modified="false" />The row to update. </param><param name="displayText"><attribution license="cc4" from="Microsoft" modified="false" />The new value. </param></Docs></Member><Member MemberName="Width"><MemberSignature Language="C#" Value="public virtual int Width { set; get; }" /><MemberType>Property</MemberType><Attributes><Attribute><AttributeName>System.ComponentModel.Localizable(true)</AttributeName></Attribute><Attribute><AttributeName>System.ComponentModel.DefaultValue(100)</AttributeName></Attribute></Attributes><ReturnValue><ReturnType>System.Int32</ReturnType></ReturnValue><Docs><value>To be added.</value><remarks>To be added.</remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Gets or sets the width of the column.</para></summary></Docs><AssemblyInfo><AssemblyVersion>1.0.5000.0</AssemblyVersion><AssemblyVersion>2.0.0.0</AssemblyVersion></AssemblyInfo></Member><Member MemberName="WidthChanged"><MemberSignature Language="C#" Value="public event EventHandler WidthChanged;" /><MemberType>Event</MemberType><ReturnValue><ReturnType>System.EventHandler</ReturnType></ReturnValue><Docs><remarks><attribution license="cc4" from="Microsoft" modified="false" /><para>For more information about handling events, see <format type="text/html"><a href="01E4F1BC-E55E-413F-98C7-6588493E5F67">[&lt;topic://cpconEventsOverview&gt;]</a></format>.</para></remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Occurs when the <see cref="P:System.Windows.Forms.DataGridColumnStyle.Width" /> property value changes.</para></summary></Docs><AssemblyInfo><AssemblyVersion>1.0.5000.0</AssemblyVersion><AssemblyVersion>2.0.0.0</AssemblyVersion></AssemblyInfo></Member></Members></Type>