﻿<?xml version="1.0" encoding="utf-8"?><Type Name="DataGridViewCellPaintingEventArgs" FullName="System.Windows.Forms.DataGridViewCellPaintingEventArgs"><TypeSignature Language="C#" Value="public class DataGridViewCellPaintingEventArgs : System.ComponentModel.HandledEventArgs" /><AssemblyInfo><AssemblyName>System.Windows.Forms</AssemblyName><AssemblyVersion>2.0.0.0</AssemblyVersion></AssemblyInfo><Base><BaseTypeName>System.ComponentModel.HandledEventArgs</BaseTypeName></Base><Interfaces /><Docs><since version=".NET 2.0" /><remarks><attribution license="cc4" from="Microsoft" modified="false" /><para>The <see cref="E:System.Windows.Forms.DataGridView.CellPainting" /> event is raised for each <see cref="T:System.Windows.Forms.DataGridViewCell" /> that is visible on a <see cref="T:System.Windows.Forms.DataGridView" />. To improve performance, set the properties in a <see cref="T:System.Windows.Forms.DataGridViewCellPaintingEventArgs" /> to change the appearance of the cell instead of directly accessing a cell in the <see cref="T:System.Windows.Forms.DataGridView" />. If you manually paint the cell, set the <see cref="P:System.ComponentModel.HandledEventArgs.Handled" /> property to true. If you do not set <see cref="P:System.ComponentModel.HandledEventArgs.Handled" /> to true, the cell will paint over your customizations.</para></remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Provides data for the <see cref="E:System.Windows.Forms.DataGridView.CellPainting" /> event. </para></summary></Docs><Members><Member MemberName=".ctor"><MemberSignature Language="C#" Value="public DataGridViewCellPaintingEventArgs (System.Windows.Forms.DataGridView dataGridView, System.Drawing.Graphics graphics, System.Drawing.Rectangle clipBounds, System.Drawing.Rectangle cellBounds, int rowIndex, int columnIndex, System.Windows.Forms.DataGridViewElementStates cellState, object value, object formattedValue, string errorText, System.Windows.Forms.DataGridViewCellStyle cellStyle, System.Windows.Forms.DataGridViewAdvancedBorderStyle advancedBorderStyle, System.Windows.Forms.DataGridViewPaintParts paintParts);" /><MemberType>Constructor</MemberType><Parameters><Parameter Name="dataGridView" Type="System.Windows.Forms.DataGridView" /><Parameter Name="graphics" Type="System.Drawing.Graphics" /><Parameter Name="clipBounds" Type="System.Drawing.Rectangle" /><Parameter Name="cellBounds" Type="System.Drawing.Rectangle" /><Parameter Name="rowIndex" Type="System.Int32" /><Parameter Name="columnIndex" Type="System.Int32" /><Parameter Name="cellState" Type="System.Windows.Forms.DataGridViewElementStates" /><Parameter Name="value" Type="System.Object" /><Parameter Name="formattedValue" Type="System.Object" /><Parameter Name="errorText" Type="System.String" /><Parameter Name="cellStyle" Type="System.Windows.Forms.DataGridViewCellStyle" /><Parameter Name="advancedBorderStyle" Type="System.Windows.Forms.DataGridViewAdvancedBorderStyle" /><Parameter Name="paintParts" Type="System.Windows.Forms.DataGridViewPaintParts" /></Parameters><Docs><remarks>To be added.</remarks><since version=".NET 2.0" /><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Initializes a new instance of the <see cref="T:System.Windows.Forms.DataGridViewCellPaintingEventArgs" /> class. </para></summary><param name="dataGridView"><attribution license="cc4" from="Microsoft" modified="false" />The <see cref="T:System.Windows.Forms.DataGridView" /> that contains the cell to be painted.</param><param name="graphics"><attribution license="cc4" from="Microsoft" modified="false" />The <see cref="T:System.Drawing.Graphics" /> used to paint the <see cref="T:System.Windows.Forms.DataGridViewCell" />.</param><param name="clipBounds"><attribution license="cc4" from="Microsoft" modified="false" />A <see cref="T:System.Drawing.Rectangle" /> that represents the area of the <see cref="T:System.Windows.Forms.DataGridView" /> that needs to be repainted.</param><param name="cellBounds"><attribution license="cc4" from="Microsoft" modified="false" />A <see cref="T:System.Drawing.Rectangle" /> that contains the bounds of the <see cref="T:System.Windows.Forms.DataGridViewCell" /> that is being painted.</param><param name="rowIndex"><attribution license="cc4" from="Microsoft" modified="false" />The row index of the cell that is being painted.</param><param name="columnIndex"><attribution license="cc4" from="Microsoft" modified="false" />The column index of the cell that is being painted.</param><param name="cellState"><attribution license="cc4" from="Microsoft" modified="false" />A bitwise combination of the <see cref="T:System.Windows.Forms.DataGridViewElementStates" /> values that specifies the state of the cell.</param><param name="value"><attribution license="cc4" from="Microsoft" modified="false" />The data of the <see cref="T:System.Windows.Forms.DataGridViewCell" /> that is being painted.</param><param name="formattedValue"><attribution license="cc4" from="Microsoft" modified="false" />The formatted data of the <see cref="T:System.Windows.Forms.DataGridViewCell" /> that is being painted.</param><param name="errorText"><attribution license="cc4" from="Microsoft" modified="false" />An error message that is associated with the cell.</param><param name="cellStyle"><attribution license="cc4" from="Microsoft" modified="false" />A <see cref="T:System.Windows.Forms.DataGridViewCellStyle" /> that contains formatting and style information about the cell.</param><param name="advancedBorderStyle"><attribution license="cc4" from="Microsoft" modified="false" />A <see cref="T:System.Windows.Forms.DataGridViewAdvancedBorderStyle" /> that contains border styles for the cell that is being painted.</param><param name="paintParts"><attribution license="cc4" from="Microsoft" modified="false" />A bitwise combination of <see cref="T:System.Windows.Forms.DataGridViewPaintParts" /> values specifying the parts to paint.</param></Docs><AssemblyInfo><AssemblyVersion>2.0.0.0</AssemblyVersion></AssemblyInfo></Member><Member MemberName="AdvancedBorderStyle"><MemberSignature Language="C#" Value="public System.Windows.Forms.DataGridViewAdvancedBorderStyle AdvancedBorderStyle { get; }" /><MemberType>Property</MemberType><ReturnValue><ReturnType>System.Windows.Forms.DataGridViewAdvancedBorderStyle</ReturnType></ReturnValue><Docs><value>To be added.</value><since version=".NET 2.0" /><remarks><attribution license="cc4" from="Microsoft" modified="false" /><para>Change the borders of the current <see cref="T:System.Windows.Forms.DataGridViewCell" /> by setting the properties of the <see cref="P:System.Windows.Forms.DataGridViewCellPaintingEventArgs.AdvancedBorderStyle" /> property to one of the <see cref="T:System.Windows.Forms.DataGridViewAdvancedCellBorderStyle" /> values.</para></remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Gets the border style of the current <see cref="T:System.Windows.Forms.DataGridViewCell" />.</para></summary></Docs><AssemblyInfo><AssemblyVersion>2.0.0.0</AssemblyVersion></AssemblyInfo></Member><Member MemberName="CellBounds"><MemberSignature Language="C#" Value="public System.Drawing.Rectangle CellBounds { get; }" /><MemberType>Property</MemberType><ReturnValue><ReturnType>System.Drawing.Rectangle</ReturnType></ReturnValue><Docs><value>To be added.</value><remarks>To be added.</remarks><since version=".NET 2.0" /><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Get the bounds of the current <see cref="T:System.Windows.Forms.DataGridViewCell" />.</para></summary></Docs><AssemblyInfo><AssemblyVersion>2.0.0.0</AssemblyVersion></AssemblyInfo></Member><Member MemberName="CellStyle"><MemberSignature Language="C#" Value="public System.Windows.Forms.DataGridViewCellStyle CellStyle { 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>Change the appearance of the current <see cref="T:System.Windows.Forms.DataGridViewCell" /> by setting the properties of the <see cref="P:System.Windows.Forms.DataGridViewCellPaintingEventArgs.CellStyle" /> property.</para></remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Gets the cell style of the current <see cref="T:System.Windows.Forms.DataGridViewCell" />.</para></summary></Docs><AssemblyInfo><AssemblyVersion>2.0.0.0</AssemblyVersion></AssemblyInfo></Member><Member MemberName="ClipBounds"><MemberSignature Language="C#" Value="public System.Drawing.Rectangle ClipBounds { get; }" /><MemberType>Property</MemberType><ReturnValue><ReturnType>System.Drawing.Rectangle</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.DataGridViewCellPaintingEventArgs.ClipBounds" /> property represents the area of the <see cref="T:System.Windows.Forms.DataGridView" /> that needs to be repainted. For example, if a user covers the entire <see cref="T:System.Windows.Forms.DataGridView" /> with another window, and then uncovers it, then <see cref="P:System.Windows.Forms.DataGridViewCellPaintingEventArgs.ClipBounds" /> represents the entire <see cref="T:System.Windows.Forms.DataGridView" />. If a user covers a small area of the <see cref="T:System.Windows.Forms.DataGridView" />, and then uncovers it, then <see cref="P:System.Windows.Forms.DataGridViewCellPaintingEventArgs.ClipBounds" /> represents the small area that was covered.</para></remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Gets the area of the <see cref="T:System.Windows.Forms.DataGridView" /> that needs to be repainted.</para></summary></Docs><AssemblyInfo><AssemblyVersion>2.0.0.0</AssemblyVersion></AssemblyInfo></Member><Member MemberName="ColumnIndex"><MemberSignature Language="C#" Value="public int ColumnIndex { get; }" /><MemberType>Property</MemberType><ReturnValue><ReturnType>System.Int32</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.DataGridViewCellPaintingEventArgs.ColumnIndex" /> property returns -1 when a row header cell is being painted.</para></remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Gets the column index of the current <see cref="T:System.Windows.Forms.DataGridViewCell" />.</para></summary></Docs><AssemblyInfo><AssemblyVersion>2.0.0.0</AssemblyVersion></AssemblyInfo></Member><Member MemberName="ErrorText"><MemberSignature Language="C#" Value="public string ErrorText { get; }" /><MemberType>Property</MemberType><ReturnValue><ReturnType>System.String</ReturnType></ReturnValue><Docs><value>To be added.</value><since version=".NET 2.0" /><remarks><attribution license="cc4" from="Microsoft" modified="false" /><para>When the current <see cref="T:System.Windows.Forms.DataGridViewCell" /> is a row header cell, the <see cref="P:System.Windows.Forms.DataGridViewCellPaintingEventArgs.ErrorText" /> property is the same as the <see cref="P:System.Windows.Forms.DataGridViewRow.ErrorText" /> property of the <see cref="T:System.Windows.Forms.DataGridViewRow" />. When the current cell is a data cell, <see cref="P:System.Windows.Forms.DataGridViewCellPaintingEventArgs.ErrorText" /> is the same as the <see cref="P:System.Windows.Forms.DataGridViewCell.ErrorText" /> property of the <see cref="T:System.Windows.Forms.DataGridViewCell" />.</para></remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Gets a string that represents an error message for the current <see cref="T:System.Windows.Forms.DataGridViewCell" />.</para></summary></Docs><AssemblyInfo><AssemblyVersion>2.0.0.0</AssemblyVersion></AssemblyInfo></Member><Member MemberName="FormattedValue"><MemberSignature Language="C#" Value="public object FormattedValue { 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.DataGridViewCellPaintingEventArgs.FormattedValue" /> property contains the value of the cell after the <see cref="P:System.Windows.Forms.DataGridViewCellStyle.Format" /> or <see cref="P:System.Windows.Forms.DataGridViewCellStyle.FormatProvider" /> property has been applied to it, and after the <see cref="E:System.Windows.Forms.DataGridView.CellFormatting" /> event has been handled.</para></remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Gets the formatted value of the current <see cref="T:System.Windows.Forms.DataGridViewCell" />.</para></summary></Docs><AssemblyInfo><AssemblyVersion>2.0.0.0</AssemblyVersion></AssemblyInfo></Member><Member MemberName="Graphics"><MemberSignature Language="C#" Value="public System.Drawing.Graphics Graphics { get; }" /><MemberType>Property</MemberType><ReturnValue><ReturnType>System.Drawing.Graphics</ReturnType></ReturnValue><Docs><value>To be added.</value><remarks>To be added.</remarks><since version=".NET 2.0" /><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Gets the <see cref="T:System.Drawing.Graphics" /> used to paint the current <see cref="T:System.Windows.Forms.DataGridViewCell" />.</para></summary></Docs><AssemblyInfo><AssemblyVersion>2.0.0.0</AssemblyVersion></AssemblyInfo></Member><Member MemberName="Paint"><MemberSignature Language="C#" Value="public void Paint (System.Drawing.Rectangle clipBounds, System.Windows.Forms.DataGridViewPaintParts paintParts);" /><MemberType>Method</MemberType><ReturnValue><ReturnType>System.Void</ReturnType></ReturnValue><Parameters><Parameter Name="clipBounds" Type="System.Drawing.Rectangle" /><Parameter Name="paintParts" Type="System.Windows.Forms.DataGridViewPaintParts" /></Parameters><Docs><remarks>To be added.</remarks><since version=".NET 2.0" /><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Paints the specified parts of the cell for the area in the specified bounds.</para></summary><param name="clipBounds"><attribution license="cc4" from="Microsoft" modified="false" />A <see cref="T:System.Drawing.Rectangle" /> that specifies the area of the <see cref="T:System.Windows.Forms.DataGridView" /> to be painted.</param><param name="paintParts"><attribution license="cc4" from="Microsoft" modified="false" />A bitwise combination of <see cref="T:System.Windows.Forms.DataGridViewPaintParts" /> values specifying the parts to paint.</param></Docs><AssemblyInfo><AssemblyVersion>2.0.0.0</AssemblyVersion></AssemblyInfo></Member><Member MemberName="PaintBackground"><MemberSignature Language="C#" Value="public void PaintBackground (System.Drawing.Rectangle clipBounds, bool cellsPaintSelectionBackground);" /><MemberType>Method</MemberType><ReturnValue><ReturnType>System.Void</ReturnType></ReturnValue><Parameters><Parameter Name="clipBounds" Type="System.Drawing.Rectangle" /><Parameter Name="cellsPaintSelectionBackground" Type="System.Boolean" /></Parameters><Docs><remarks>To be added.</remarks><since version=".NET 2.0" /><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Paints the cell background for the area in the specified bounds.</para></summary><param name="clipBounds"><attribution license="cc4" from="Microsoft" modified="false" />A <see cref="T:System.Drawing.Rectangle" /> that specifies the area of the <see cref="T:System.Windows.Forms.DataGridView" /> to be painted.</param><param name="cellsPaintSelectionBackground"><attribution license="cc4" from="Microsoft" modified="false" />true to paint the background of the specified bounds with the color of the <see cref="P:System.Windows.Forms.DataGridViewCellStyle.SelectionBackColor" /> property of the <see cref="P:System.Windows.Forms.DataGridViewCell.InheritedStyle" />; false to paint the background of the specified bounds with the color of the <see cref="P:System.Windows.Forms.DataGridViewCellStyle.BackColor" /> property of the <see cref="P:System.Windows.Forms.DataGridViewCell.InheritedStyle" />.</param></Docs><AssemblyInfo><AssemblyVersion>2.0.0.0</AssemblyVersion></AssemblyInfo></Member><Member MemberName="PaintContent"><MemberSignature Language="C#" Value="public void PaintContent (System.Drawing.Rectangle clipBounds);" /><MemberType>Method</MemberType><ReturnValue><ReturnType>System.Void</ReturnType></ReturnValue><Parameters><Parameter Name="clipBounds" Type="System.Drawing.Rectangle" /></Parameters><Docs><remarks>To be added.</remarks><since version=".NET 2.0" /><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Paints the cell content for the area in the specified bounds.</para></summary><param name="clipBounds"><attribution license="cc4" from="Microsoft" modified="false" />A <see cref="T:System.Drawing.Rectangle" /> that specifies the area of the <see cref="T:System.Windows.Forms.DataGridView" /> to be painted.</param></Docs><AssemblyInfo><AssemblyVersion>2.0.0.0</AssemblyVersion></AssemblyInfo></Member><Member MemberName="PaintParts"><MemberSignature Language="C#" Value="public System.Windows.Forms.DataGridViewPaintParts PaintParts { get; }" /><MemberType>Property</MemberType><ReturnValue><ReturnType>System.Windows.Forms.DataGridViewPaintParts</ReturnType></ReturnValue><Docs><value>To be added.</value><remarks>To be added.</remarks><since version=".NET 2.0" /><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>The cell parts that are to be painted.</para></summary></Docs><AssemblyInfo><AssemblyVersion>2.0.0.0</AssemblyVersion></AssemblyInfo></Member><Member MemberName="RowIndex"><MemberSignature Language="C#" Value="public int RowIndex { get; }" /><MemberType>Property</MemberType><ReturnValue><ReturnType>System.Int32</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.DataGridViewCellPaintingEventArgs.RowIndex" /> property returns -1 when a column header is being painted.</para></remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Gets the row index of the current <see cref="T:System.Windows.Forms.DataGridViewCell" />.</para></summary></Docs><AssemblyInfo><AssemblyVersion>2.0.0.0</AssemblyVersion></AssemblyInfo></Member><Member MemberName="State"><MemberSignature Language="C#" Value="public System.Windows.Forms.DataGridViewElementStates State { get; }" /><MemberType>Property</MemberType><ReturnValue><ReturnType>System.Windows.Forms.DataGridViewElementStates</ReturnType></ReturnValue><Docs><value>To be added.</value><remarks>To be added.</remarks><since version=".NET 2.0" /><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Gets the state of the current <see cref="T:System.Windows.Forms.DataGridViewCell" />.</para></summary></Docs><AssemblyInfo><AssemblyVersion>2.0.0.0</AssemblyVersion></AssemblyInfo></Member><Member MemberName="Value"><MemberSignature Language="C#" Value="public object Value { 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.DataGridViewCellPaintingEventArgs.Value" /> property contains the value of the cell before any formatting occurs.</para></remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Gets the value of the current <see cref="T:System.Windows.Forms.DataGridViewCell" />.</para></summary></Docs><AssemblyInfo><AssemblyVersion>2.0.0.0</AssemblyVersion></AssemblyInfo></Member></Members></Type>