Jo Shields a575963da9 Imported Upstream version 3.6.0
Former-commit-id: da6be194a6b1221998fc28233f2503bd61dd9d14
2014-08-13 10:39:27 +01:00

135 lines
8.1 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<Type Name="DataListCommandEventArgs" FullName="System.Web.UI.WebControls.DataListCommandEventArgs">
<TypeSignature Language="C#" Maintainer="auto" Value="public class DataListCommandEventArgs : System.Web.UI.WebControls.CommandEventArgs" />
<AssemblyInfo>
<AssemblyName>System.Web</AssemblyName>
<AssemblyPublicKey>
</AssemblyPublicKey>
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ThreadSafetyStatement>Gtk# is thread aware, but not thread safe; See the &lt;link location="node:gtk-sharp/programming/threads"&gt;Gtk# Thread Programming&lt;/link&gt; for details.</ThreadSafetyStatement>
<Base>
<BaseTypeName>System.Web.UI.WebControls.CommandEventArgs</BaseTypeName>
</Base>
<Interfaces />
<Docs>
<remarks>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>The <see cref="E:System.Web.UI.WebControls.DataList.CancelCommand" /> event is raised when the Cancel button for an item in the <see cref="T:System.Web.UI.WebControls.DataList" /> control is clicked.</para>
<para>The <see cref="E:System.Web.UI.WebControls.DataList.DeleteCommand" /> event is raised when the Delete button for an item in the <see cref="T:System.Web.UI.WebControls.DataList" /> control is clicked.</para>
<para>The <see cref="E:System.Web.UI.WebControls.DataList.EditCommand" /> event is raised when the Edit button for an item in the <see cref="T:System.Web.UI.WebControls.DataList" /> control is clicked.</para>
<para>The <see cref="E:System.Web.UI.WebControls.DataList.ItemCommand" /> event is raised when any button for an item in the <see cref="T:System.Web.UI.WebControls.DataList" /> control is clicked. This allows you to programmatically test for when a specific command button is clicked and take appropriate action. This event is commonly used to handle custom command buttons for the <see cref="T:System.Web.UI.WebControls.DataList" /> control.</para>
<para>The <see cref="E:System.Web.UI.WebControls.DataList.UpdateCommand" /> event is raised when the Update button for an item in the <see cref="T:System.Web.UI.WebControls.DataList" /> control is clicked.</para>
<para>For a list of initial property values for an instance of <see cref="T:System.Web.UI.WebControls.DataListCommandEventArgs" />, see the <see cref="M:System.Web.UI.WebControls.DataListCommandEventArgs.#ctor(System.Web.UI.WebControls.DataListItem,System.Object,System.Web.UI.WebControls.CommandEventArgs)" /> constructor.</para>
<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>Provides data for the <see cref="E:System.Web.UI.WebControls.DataList.CancelCommand" />, <see cref="E:System.Web.UI.WebControls.DataList.DeleteCommand" />, <see cref="E:System.Web.UI.WebControls.DataList.EditCommand" />, <see cref="E:System.Web.UI.WebControls.DataList.ItemCommand" />, and <see cref="E:System.Web.UI.WebControls.DataList.UpdateCommand" /> events of the <see cref="T:System.Web.UI.WebControls.DataList" /> control. This class cannot be inherited.</para>
</summary>
</Docs>
<Members>
<Member MemberName=".ctor">
<MemberSignature Language="C#" Value="public DataListCommandEventArgs (System.Web.UI.WebControls.DataListItem item, object source, System.Web.UI.WebControls.CommandEventArgs args);" />
<MemberType>Constructor</MemberType>
<ReturnValue />
<Parameters>
<Parameter Name="item" Type="System.Web.UI.WebControls.DataListItem" />
<Parameter Name="source" Type="System.Object" />
<Parameter Name="args" Type="System.Web.UI.WebControls.CommandEventArgs" />
</Parameters>
<Docs>
<param name="source">To be added.</param>
<param name="args">To be added.</param>
<remarks>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>Use this constructor to create and initialize a new instance of the <see cref="T:System.Web.UI.WebControls.DataListCommandEventArgs" /> class.</para>
<para>When an instance of <see cref="T:System.Web.UI.WebControls.DataListCommandEventArgs" /> is created by a call to this constructor, the following properties are initialized to the specified values.</para>
<list type="table">
<listheader>
<item>
<term>
<para>Property </para>
</term>
<description>
<para>Initial Value </para>
</description>
</item>
</listheader>
<item>
<term>
<para>Item </para>
</term>
<description>
<para>The value of the <paramref name="item" /> parameter. </para>
</description>
</item>
<item>
<term>
<para>CommandSource </para>
</term>
<description>
<para>The value of the <paramref name="commandSource" /> parameter. </para>
</description>
</item>
</list>
</remarks>
<summary>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>Initializes a new instance of the <see cref="T:System.Web.UI.WebControls.DataListCommandEventArgs" /> class.</para>
</summary>
<param name="item">
<attribution license="cc4" from="Microsoft" modified="false" />The selected item from the <see cref="T:System.Web.UI.WebControls.DataList" />. </param>
</Docs>
<AssemblyInfo>
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
</AssemblyInfo>
</Member>
<Member MemberName="CommandSource">
<MemberSignature Language="C#" Value="public object CommandSource { get; }" />
<MemberType>Property</MemberType>
<ReturnValue>
<ReturnType>System.Object</ReturnType>
</ReturnValue>
<Docs>
<value>To be added: an object of type 'object'</value>
<remarks>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>Use the <see cref="P:System.Web.UI.WebControls.DataListCommandEventArgs.CommandSource" /> property to determine the command source that raised the event. This property is commonly used to determine which command raises the event. You can then take appropriate action, based on the command.</para>
</remarks>
<summary>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>Gets the source of the command.</para>
</summary>
</Docs>
<AssemblyInfo>
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
</AssemblyInfo>
</Member>
<Member MemberName="Item">
<MemberSignature Language="C#" Value="public System.Web.UI.WebControls.DataListItem Item { get; }" />
<MemberType>Property</MemberType>
<ReturnValue>
<ReturnType>System.Web.UI.WebControls.DataListItem</ReturnType>
</ReturnValue>
<Docs>
<value>To be added: an object of type 'DataListItem'</value>
<remarks>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>Use the <see cref="P:System.Web.UI.WebControls.DataListCommandEventArgs.Item" /> property to access information about the selected item in the <see cref="T:System.Web.UI.WebControls.DataList" /> control.</para>
</remarks>
<summary>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>Gets the item containing the command source in the <see cref="T:System.Web.UI.WebControls.DataList" /> control.</para>
</summary>
</Docs>
<AssemblyInfo>
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
</AssemblyInfo>
</Member>
</Members>
</Type>