﻿<?xml version="1.0" encoding="utf-8"?><Type Name="GridViewRowEventArgs" FullName="System.Web.UI.WebControls.GridViewRowEventArgs"><TypeSignature Language="C#" Value="public class GridViewRowEventArgs : EventArgs" /><AssemblyInfo><AssemblyName>System.Web</AssemblyName><AssemblyVersion>2.0.0.0</AssemblyVersion></AssemblyInfo><Base><BaseTypeName>System.EventArgs</BaseTypeName></Base><Interfaces /><Docs><since version=".NET 2.0" /><remarks><attribution license="cc4" from="Microsoft" modified="false" /><para>Before the <see cref="T:System.Web.UI.WebControls.GridView" /> control can be rendered, a <see cref="T:System.Web.UI.WebControls.GridViewRow" /> object must be created for each row in the control. The <see cref="E:System.Web.UI.WebControls.GridView.RowCreated" /> event is raised each time a row in the <see cref="T:System.Web.UI.WebControls.GridView" /> control is created. This allows you to provide an event-handling method that performs a custom routine, such as adding custom content to a row, whenever this event occurs.</para><para>Similarly, each row in the control must be bound to a record in the data source before the <see cref="T:System.Web.UI.WebControls.GridView" /> control can be rendered. The <see cref="E:System.Web.UI.WebControls.GridView.RowDataBound" /> event is raised when a data row (represented by a <see cref="T:System.Web.UI.WebControls.GridViewRow" /> object) is bound to data in the <see cref="T:System.Web.UI.WebControls.GridView" /> control. This allows you to provide an event-handling method that performs a custom routine, such as modifying the values of the data bound to the row, whenever this event occurs.</para><para>A <see cref="T:System.Web.UI.WebControls.GridViewRowEventArgs" /> object is passed to the event-handling method, which allows you to access the properties of the row that raised the event. To access a specific cell in the row, use the <see cref="P:System.Web.UI.WebControls.TableRow.Cells" /> property of the <see cref="T:System.Web.UI.WebControls.GridViewRow" /> object contained in the <see cref="P:System.Web.UI.WebControls.GridViewRowEventArgs.Row" /> property. You can also determine which row type (header row, data row, and so on) is being created by using the <see cref="P:System.Web.UI.WebControls.GridViewRow.RowType" /> property of the <see cref="T:System.Web.UI.WebControls.GridViewRow" /> object.</para><para>For more information about handling events, see <format type="text/html"><a href="01e4f1bc-e55e-413f-98c7-6588493e5f67">Consuming Events</a></format>.</para><para>For a list of initial property values for an instance of <see cref="T:System.Web.UI.WebControls.GridViewRowEventArgs" />, see the <see cref="M:System.Web.UI.WebControls.GridViewRowEventArgs.#ctor(System.Web.UI.WebControls.GridViewRow)" /> constructor.</para></remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Provides data for the <see cref="E:System.Web.UI.WebControls.GridView.RowCreated" /> and <see cref="E:System.Web.UI.WebControls.GridView.RowDataBound" /> events.</para></summary></Docs><Members><Member MemberName=".ctor"><MemberSignature Language="C#" Value="public GridViewRowEventArgs (System.Web.UI.WebControls.GridViewRow row);" /><MemberType>Constructor</MemberType><Parameters><Parameter Name="row" Type="System.Web.UI.WebControls.GridViewRow" /></Parameters><Docs><since version=".NET 2.0" /><remarks><attribution license="cc4" from="Microsoft" modified="false" /><para>Use this constructor to initialize a new instance of the <see cref="T:System.Web.UI.WebControls.GridViewRowEventArgs" /> class.</para><para>The following table shows the initial property value for an instance of <see cref="T:System.Web.UI.WebControls.GridViewRowEventArgs" />.</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.Web.UI.WebControls.GridViewRowEventArgs.Row" /></para></term><description><para>The <see cref="T:System.Web.UI.WebControls.GridViewRow" /> object contained in the <paramref name="row" /> parameter. </para></description></item></list><block subset="none" type="note"><para>This constructor is used primarily by control developers when raising events.</para></block></remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Initializes a new instance of the <see cref="T:System.Web.UI.WebControls.GridViewRowEventArgs" /> class.</para></summary><param name="row"><attribution license="cc4" from="Microsoft" modified="false" />A <see cref="T:System.Web.UI.WebControls.GridViewRow" /> object that represents the row being created or data-bound. </param></Docs><AssemblyInfo><AssemblyVersion>2.0.0.0</AssemblyVersion></AssemblyInfo></Member><Member MemberName="Row"><MemberSignature Language="C#" Value="public System.Web.UI.WebControls.GridViewRow Row { get; }" /><MemberType>Property</MemberType><ReturnValue><ReturnType>System.Web.UI.WebControls.GridViewRow</ReturnType></ReturnValue><Docs><value>To be added.</value><since version=".NET 2.0" /><remarks><attribution license="cc4" from="Microsoft" modified="false" /><para>Use the <see cref="P:System.Web.UI.WebControls.GridViewRowEventArgs.Row" /> property to access the properties of the row being created or data-bound. To access a specific cell in the row, use the <see cref="P:System.Web.UI.WebControls.TableRow.Cells" /> property of the <see cref="T:System.Web.UI.WebControls.GridViewRow" /> object contained in the <see cref="P:System.Web.UI.WebControls.GridViewRowEventArgs.Row" /> property. You can also determine which row type (header row, data row, and so on) is being created by using the <see cref="P:System.Web.UI.WebControls.GridViewRow.RowType" /> property of the <see cref="T:System.Web.UI.WebControls.GridViewRow" /> object.</para></remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Gets the row being created or data-bound.</para></summary></Docs><AssemblyInfo><AssemblyVersion>2.0.0.0</AssemblyVersion></AssemblyInfo></Member></Members></Type>