﻿<?xml version="1.0" encoding="utf-8"?><Type Name="DataGridViewRowPrePaintEventArgs" FullName="System.Windows.Forms.DataGridViewRowPrePaintEventArgs"><TypeSignature Language="C#" Value="public class DataGridViewRowPrePaintEventArgs : 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.RowPrePaint" /> event occurs before a row is painted on a <see cref="T:System.Windows.Forms.DataGridView" /> control. <see cref="E:System.Windows.Forms.DataGridView.RowPrePaint" /> enables you to manually adjust the appearance of the row before any of the cells in the row are painted. This is useful if you want to customize the row, such as to produce a row where the content of one column spans multiple columns. Use the properties in <see cref="T:System.Windows.Forms.DataGridViewRowPrePaintEventArgs" /> to get the settings of the row without directly accessing the row in the <see cref="T:System.Windows.Forms.DataGridView" />. </para></remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Provides data for the <see cref="E:System.Windows.Forms.DataGridView.RowPrePaint" /> event. </para></summary></Docs><Members><Member MemberName=".ctor"><MemberSignature Language="C#" Value="public DataGridViewRowPrePaintEventArgs (System.Windows.Forms.DataGridView dataGridView, System.Drawing.Graphics graphics, System.Drawing.Rectangle clipBounds, System.Drawing.Rectangle rowBounds, int rowIndex, System.Windows.Forms.DataGridViewElementStates rowState, string errorText, System.Windows.Forms.DataGridViewCellStyle inheritedRowStyle, bool isFirstDisplayedRow, bool isLastVisibleRow);" /><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="rowBounds" Type="System.Drawing.Rectangle" /><Parameter Name="rowIndex" Type="System.Int32" /><Parameter Name="rowState" Type="System.Windows.Forms.DataGridViewElementStates" /><Parameter Name="errorText" Type="System.String" /><Parameter Name="inheritedRowStyle" Type="System.Windows.Forms.DataGridViewCellStyle" /><Parameter Name="isFirstDisplayedRow" Type="System.Boolean" /><Parameter Name="isLastVisibleRow" Type="System.Boolean" /></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.DataGridViewRowPrePaintEventArgs" /> class. </para></summary><param name="dataGridView"><attribution license="cc4" from="Microsoft" modified="false" />The <see cref="T:System.Windows.Forms.DataGridView" /> that owns the row that is being 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.DataGridViewRow" />.</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 painted.</param><param name="rowBounds"><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.DataGridViewRow" /> 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="rowState"><attribution license="cc4" from="Microsoft" modified="false" />A bitwise combination of <see cref="T:System.Windows.Forms.DataGridViewElementStates" /> values that specifies the state of the row.</param><param name="errorText"><attribution license="cc4" from="Microsoft" modified="false" />An error message that is associated with the row.</param><param name="inheritedRowStyle"><attribution license="cc4" from="Microsoft" modified="false" />A <see cref="T:System.Windows.Forms.DataGridViewCellStyle" /> that contains formatting and style information about the row.</param><param name="isFirstDisplayedRow"><attribution license="cc4" from="Microsoft" modified="false" />true to indicate whether the current row is the first row currently displayed in the <see cref="T:System.Windows.Forms.DataGridView" />; otherwise, false.</param><param name="isLastVisibleRow"><attribution license="cc4" from="Microsoft" modified="false" />true to indicate whether the current row is the last row in the <see cref="T:System.Windows.Forms.DataGridView" /> that has the <see cref="P:System.Windows.Forms.DataGridViewRow.Visible" /> property set to true; otherwise, false.</param></Docs><AssemblyInfo><AssemblyVersion>2.0.0.0</AssemblyVersion></AssemblyInfo></Member><Member MemberName="ClipBounds"><MemberSignature Language="C#" Value="public System.Drawing.Rectangle ClipBounds { set; 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.DataGridViewRowPrePaintEventArgs.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.DataGridViewRowPrePaintEventArgs.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.DataGridViewRowPrePaintEventArgs.ClipBounds" /> represents the small area that was covered.</para></remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Gets or sets 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="DrawFocus"><MemberSignature Language="C#" Value="public void DrawFocus (System.Drawing.Rectangle bounds, bool cellsPaintSelectionBackground);" /><MemberType>Method</MemberType><ReturnValue><ReturnType>System.Void</ReturnType></ReturnValue><Parameters><Parameter Name="bounds" Type="System.Drawing.Rectangle" /><Parameter Name="cellsPaintSelectionBackground" Type="System.Boolean" /></Parameters><Docs><since version=".NET 2.0" /><remarks><attribution license="cc4" from="Microsoft" modified="false" /><para>Use the <see cref="M:System.Windows.Forms.DataGridViewRowPrePaintEventArgs.DrawFocus(System.Drawing.Rectangle,System.Boolean)" /> method when you draw the <see cref="T:System.Windows.Forms.DataGridViewRow" /> and its cells' contents yourself. If you manually paint the entire row and its cells' contents, set the <see cref="P:System.ComponentModel.HandledEventArgs.Handled" /> property to true. When <see cref="P:System.ComponentModel.HandledEventArgs.Handled" /> is true, the <see cref="E:System.Windows.Forms.DataGridView.CellPainting" /> and <see cref="E:System.Windows.Forms.DataGridView.RowPostPaint" /> events do not occur.</para></remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Draws the focus rectangle around the specified bounds.</para></summary><param name="bounds"><attribution license="cc4" from="Microsoft" modified="false" />A <see cref="T:System.Drawing.Rectangle" /> that specifies the focus area.</param><param name="cellsPaintSelectionBackground"><attribution license="cc4" from="Microsoft" modified="false" />true to use the <see cref="P:System.Windows.Forms.DataGridViewCellStyle.SelectionBackColor" /> property of the <see cref="P:System.Windows.Forms.DataGridViewRow.InheritedStyle" /> property to determine the color of the focus rectangle; false to use the <see cref="P:System.Windows.Forms.DataGridViewCellStyle.BackColor" /> property of the <see cref="P:System.Windows.Forms.DataGridViewRow.InheritedStyle" />.</param></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>The value of the <see cref="P:System.Windows.Forms.DataGridViewRowPrePaintEventArgs.ErrorText" /> property is the same as the current row's <see cref="P:System.Windows.Forms.DataGridViewRow.ErrorText" /> property.</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.DataGridViewRow" />.</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><since version=".NET 2.0" /><remarks><attribution license="cc4" from="Microsoft" modified="false" /><para>The <see cref="T:System.Drawing.Graphics" /> class provides properties and methods that are useful for custom drawing.</para></remarks><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.DataGridViewRow" />.</para></summary></Docs><AssemblyInfo><AssemblyVersion>2.0.0.0</AssemblyVersion></AssemblyInfo></Member><Member MemberName="InheritedRowStyle"><MemberSignature Language="C#" Value="public System.Windows.Forms.DataGridViewCellStyle InheritedRowStyle { 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 <see cref="P:System.Windows.Forms.DataGridViewRowPrePaintEventArgs.InheritedRowStyle" /> property contains the same values as the row's <see cref="P:System.Windows.Forms.DataGridViewRow.InheritedStyle" /> property. Directly accessing a <see cref="T:System.Windows.Forms.DataGridViewRow" /> in the <see cref="T:System.Windows.Forms.DataGridView" /> can affect performance. Use <see cref="P:System.Windows.Forms.DataGridViewRowPrePaintEventArgs.InheritedRowStyle" /> in the <see cref="E:System.Windows.Forms.DataGridView.RowPrePaint" /> event to avoid unsharing the row and maintain optimal performance.</para><para>The <see cref="P:System.Windows.Forms.DataGridViewRowPrePaintEventArgs.InheritedRowStyle" /> property is read-only. Although you can set the properties of the <see cref="T:System.Windows.Forms.DataGridViewCellStyle" /> retrieved through the <see cref="P:System.Windows.Forms.DataGridViewRowPrePaintEventArgs.InheritedRowStyle" /> property, the new settings will have no effect.</para></remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Gets the cell style applied to the row.</para></summary></Docs><AssemblyInfo><AssemblyVersion>2.0.0.0</AssemblyVersion></AssemblyInfo></Member><Member MemberName="IsFirstDisplayedRow"><MemberSignature Language="C#" Value="public bool IsFirstDisplayedRow { get; }" /><MemberType>Property</MemberType><ReturnValue><ReturnType>System.Boolean</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 a value indicating whether the current row is the first row currently displayed in the <see cref="T:System.Windows.Forms.DataGridView" />.</para></summary></Docs><AssemblyInfo><AssemblyVersion>2.0.0.0</AssemblyVersion></AssemblyInfo></Member><Member MemberName="IsLastVisibleRow"><MemberSignature Language="C#" Value="public bool IsLastVisibleRow { get; }" /><MemberType>Property</MemberType><ReturnValue><ReturnType>System.Boolean</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 a value indicating whether the current row is the last visible row in the <see cref="T:System.Windows.Forms.DataGridView" />.</para></summary></Docs><AssemblyInfo><AssemblyVersion>2.0.0.0</AssemblyVersion></AssemblyInfo></Member><Member MemberName="PaintCells"><MemberSignature Language="C#" Value="public void PaintCells (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 cell parts 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="PaintCellsBackground"><MemberSignature Language="C#" Value="public void PaintCellsBackground (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><since version=".NET 2.0" /><remarks><attribution license="cc4" from="Microsoft" modified="false" /><para>Use the <see cref="M:System.Windows.Forms.DataGridViewRowPrePaintEventArgs.PaintCellsBackground(System.Drawing.Rectangle,System.Boolean)" /> method when you draw the <see cref="T:System.Windows.Forms.DataGridViewRow" /> and its cells' contents yourself. If you manually paint the entire row and its cells' contents, set the <see cref="P:System.ComponentModel.HandledEventArgs.Handled" /> property to true. When <see cref="P:System.ComponentModel.HandledEventArgs.Handled" /> is true, the <see cref="E:System.Windows.Forms.DataGridView.CellPainting" /> and <see cref="E:System.Windows.Forms.DataGridView.RowPostPaint" /> events do not occur.</para></remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Paints the cell backgrounds 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.DataGridViewRow.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.DataGridViewRow.InheritedStyle" />.</param></Docs><AssemblyInfo><AssemblyVersion>2.0.0.0</AssemblyVersion></AssemblyInfo></Member><Member MemberName="PaintCellsContent"><MemberSignature Language="C#" Value="public void PaintCellsContent (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 contents 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="PaintHeader"><MemberSignature Language="C#" Value="public void PaintHeader (bool paintSelectionBackground);" /><MemberType>Method</MemberType><ReturnValue><ReturnType>System.Void</ReturnType></ReturnValue><Parameters><Parameter Name="paintSelectionBackground" Type="System.Boolean" /></Parameters><Docs><since version=".NET 2.0" /><remarks><attribution license="cc4" from="Microsoft" modified="false" /><para>Use the <see cref="M:System.Windows.Forms.DataGridViewRowPrePaintEventArgs.PaintHeader(System.Boolean)" /> method when you draw the <see cref="T:System.Windows.Forms.DataGridViewRow" /> and its cells' contents yourself. If you manually paint the entire row and its cells' contents, set the <see cref="P:System.ComponentModel.HandledEventArgs.Handled" /> property to true. When <see cref="P:System.ComponentModel.HandledEventArgs.Handled" /> is true, the <see cref="E:System.Windows.Forms.DataGridView.CellPainting" /> and <see cref="E:System.Windows.Forms.DataGridView.RowPostPaint" /> events do not occur.</para></remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Paints the entire row header of the current <see cref="T:System.Windows.Forms.DataGridViewRow" />.</para></summary><param name="paintSelectionBackground"><attribution license="cc4" from="Microsoft" modified="false" />true to paint the row header with the color of the <see cref="P:System.Windows.Forms.DataGridViewCellStyle.SelectionBackColor" /> property of the <see cref="P:System.Windows.Forms.DataGridViewRow.InheritedStyle" />; false to paint the row header with the <see cref="P:System.Windows.Forms.DataGridViewCellStyle.BackColor" /> of the <see cref="P:System.Windows.Forms.DataGridView.RowHeadersDefaultCellStyle" /> property.</param></Docs><AssemblyInfo><AssemblyVersion>2.0.0.0</AssemblyVersion></AssemblyInfo></Member><Member MemberName="PaintHeader"><MemberSignature Language="C#" Value="public void PaintHeader (System.Windows.Forms.DataGridViewPaintParts paintParts);" /><MemberType>Method</MemberType><ReturnValue><ReturnType>System.Void</ReturnType></ReturnValue><Parameters><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 row header of the current row.</para></summary><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="PaintParts"><MemberSignature Language="C#" Value="public System.Windows.Forms.DataGridViewPaintParts PaintParts { set; 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="RowBounds"><MemberSignature Language="C#" Value="public System.Drawing.Rectangle RowBounds { 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 width of the <see cref="P:System.Windows.Forms.DataGridViewRowPrePaintEventArgs.RowBounds" /> property is the same as the width of the <see cref="T:System.Windows.Forms.DataGridView" />. To get the width of the columns in the <see cref="T:System.Windows.Forms.DataGridView" />, use the <see cref="M:System.Windows.Forms.DataGridViewColumnCollection.GetColumnsWidth(System.Windows.Forms.DataGridViewElementStates)" /> method.</para></remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Get the bounds of the current <see cref="T:System.Windows.Forms.DataGridViewRow" />.</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 row index can be used to access the current row within a <see cref="T:System.Windows.Forms.DataGridViewRowCollection" />.</para></remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Gets the index of the current <see cref="T:System.Windows.Forms.DataGridViewRow" />.</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><since version=".NET 2.0" /><remarks><attribution license="cc4" from="Microsoft" modified="false" /><para>This property can be used to determine whether the row is frozen, read-only, or selected, among other states.</para></remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Gets the state of the current <see cref="T:System.Windows.Forms.DataGridViewRow" />.</para></summary></Docs><AssemblyInfo><AssemblyVersion>2.0.0.0</AssemblyVersion></AssemblyInfo></Member></Members></Type>