1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183
|
<?xml version="1.0" encoding="utf-8"?>
<Type Name="CommandEventArgs" FullName="System.Web.UI.WebControls.CommandEventArgs">
<TypeSignature Language="C#" Maintainer="auto" Value="public class CommandEventArgs : EventArgs" />
<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 <link location="node:gtk-sharp/programming/threads">Gtk# Thread Programming</link> for details.</ThreadSafetyStatement>
<Base>
<BaseTypeName>System.EventArgs</BaseTypeName>
</Base>
<Interfaces />
<Docs>
<remarks>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>The Command event is raised when a <see cref="T:System.Web.UI.WebControls.Button" /> or <see cref="T:System.Web.UI.WebControls.ImageButton" /> control is clicked.</para>
<para>The <see cref="T:System.Web.UI.WebControls.CommandEventArgs" /> object contains data about the Command event that can be accessed in the event handler. Using the properties available in the <see cref="T:System.Web.UI.WebControls.CommandEventArgs" /> class, you can determine the name of the command to perform, such as Sort, in addition to an optional argument that supplements the command, such as Ascending.</para>
<para>For a list of initial property values for an instance of <see cref="T:System.Web.UI.WebControls.CommandEventArgs" />, see the <see cref="Overload:System.Web.UI.WebControls.CommandEventArgs.#ctor" /> constructor.</para>
<para>For more information about handling events, see <format type="text/html"><a href="01E4F1BC-E55E-413F-98C7-6588493E5F67">[<topic://cpconEventsOverview>]</a></format>.</para>
</remarks>
<summary>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>Provides data for the Command event.</para>
</summary>
</Docs>
<Members>
<Member MemberName=".ctor">
<MemberSignature Language="C#" Value="public CommandEventArgs (System.Web.UI.WebControls.CommandEventArgs e);" />
<MemberType>Constructor</MemberType>
<ReturnValue />
<Parameters>
<Parameter Name="e" Type="System.Web.UI.WebControls.CommandEventArgs" />
</Parameters>
<Docs>
<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.CommandEventArgs" /> class using the specified <see cref="T:System.Web.UI.WebControls.CommandEventArgs" /> object.</para>
<para>When an instance of <see cref="T:System.Web.UI.WebControls.CommandEventArgs" /> 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>CommandName </para>
</term>
<description>
<para>The <paramref name="e.CommandName" /> parameter. </para>
</description>
</item>
<item>
<term>
<para>CommandArgument </para>
</term>
<description>
<para>The <paramref name="e.CommandArgument" /> 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.CommandEventArgs" /> class with another <see cref="T:System.Web.UI.WebControls.CommandEventArgs" /> object.</para>
</summary>
<param name="e">
<attribution license="cc4" from="Microsoft" modified="false" />A <see cref="T:System.Web.UI.WebControls.CommandEventArgs" /> that contains the event data. </param>
</Docs>
<AssemblyInfo>
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
</AssemblyInfo>
</Member>
<Member MemberName=".ctor">
<MemberSignature Language="C#" Value="public CommandEventArgs (string name, object argument);" />
<MemberType>Constructor</MemberType>
<ReturnValue />
<Parameters>
<Parameter Name="name" Type="System.String" />
<Parameter Name="argument" Type="System.Object" />
</Parameters>
<Docs>
<param name="name">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.CommandEventArgs" /> class using the specified command name and argument.</para>
<para>When an instance of <see cref="T:System.Web.UI.WebControls.CommandEventArgs" /> 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>CommandName </para>
</term>
<description>
<para>The value of the <paramref name="commandName" /> parameter. </para>
</description>
</item>
<item>
<term>
<para>CommandArgument </para>
</term>
<description>
<para>The value of the <paramref name="argument" /> 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.CommandEventArgs" /> class with the specified command name and argument.</para>
</summary>
<param name="argument">
<attribution license="cc4" from="Microsoft" modified="false" />A <see cref="T:System.Object" /> that contains the arguments for the command. </param>
</Docs>
<AssemblyInfo>
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
</AssemblyInfo>
</Member>
<Member MemberName="CommandArgument">
<MemberSignature Language="C#" Value="public object CommandArgument { 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>The <see cref="P:System.Web.UI.WebControls.CommandEventArgs.CommandArgument" /> can contain any string set by the programmer. The <see cref="P:System.Web.UI.WebControls.CommandEventArgs.CommandArgument" /> property complements the <see cref="P:System.Web.UI.WebControls.CommandEventArgs.CommandName" /> property by allowing you to provide any additional information for the command. For example, you can set the <see cref="P:System.Web.UI.WebControls.CommandEventArgs.CommandName" /> property to Sort and set the <see cref="P:System.Web.UI.WebControls.CommandEventArgs.CommandArgument" /> property to Ascending to specify a command to sort in ascending order.</para>
</remarks>
<summary>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>Gets the argument for the command.</para>
</summary>
</Docs>
<AssemblyInfo>
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
</AssemblyInfo>
</Member>
<Member MemberName="CommandName">
<MemberSignature Language="C#" Value="public string CommandName { get; }" />
<MemberType>Property</MemberType>
<ReturnValue>
<ReturnType>System.String</ReturnType>
</ReturnValue>
<Docs>
<value>To be added: an object of type 'string'</value>
<remarks>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>Use the <see cref="P:System.Web.UI.WebControls.CommandEventArgs.CommandName" /> property to determine the command to perform. The <see cref="P:System.Web.UI.WebControls.CommandEventArgs.CommandName" /> property can contain any string set by the programmer. The programmer can then identify the command name in code and perform the appropriate tasks.</para>
</remarks>
<summary>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>Gets the name of the command.</para>
</summary>
</Docs>
<AssemblyInfo>
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
</AssemblyInfo>
</Member>
</Members>
</Type>
|