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 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259
|
<?xml version="1.0" encoding="utf-8"?>
<Type Name="MenuEventArgs" FullName="System.Web.UI.WebControls.MenuEventArgs">
<TypeSignature Language="C#" Value="public sealed class MenuEventArgs : System.Web.UI.WebControls.CommandEventArgs" />
<AssemblyInfo>
<AssemblyName>System.Web</AssemblyName>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Base>
<BaseTypeName>System.Web.UI.WebControls.CommandEventArgs</BaseTypeName>
</Base>
<Interfaces />
<Docs>
<since version=".NET 2.0" />
<remarks>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>The <see cref="T:System.Web.UI.WebControls.MenuEventArgs" /> class is used to store the event data passed to an event handler for the events in the following table.</para>
<list type="table">
<listheader>
<item>
<term>
<para>Event</para>
</term>
<description>
<para>Description</para>
</description>
</item>
</listheader>
<item>
<term>
<para>
<see cref="E:System.Web.UI.WebControls.Menu.MenuItemClick" />
</para>
</term>
<description>
<para>Occurs when a menu item is clicked. This event is commonly used to synchronize a <see cref="T:System.Web.UI.WebControls.Menu" /> control with another control on the page.</para>
</description>
</item>
<item>
<term>
<para>
<see cref="E:System.Web.UI.WebControls.Menu.MenuItemDataBound" />
</para>
</term>
<description>
<para>Occurs when a menu item is bound to data. This event is commonly used to modify a menu item before it is rendered in a <see cref="T:System.Web.UI.WebControls.Menu" /> control.</para>
</description>
</item>
</list>
<para>Depending on the event raised, you can access the menu item clicked by the user or the menu item being bound to data by using the <see cref="P:System.Web.UI.WebControls.MenuEventArgs.Item" /> property.</para>
<para>For a list of initial property values for an instance of the <see cref="T:System.Web.UI.WebControls.MenuEventArgs" /> class, see the <see cref="M:System.Web.UI.WebControls.MenuEventArgs.#ctor(System.Web.UI.WebControls.MenuItem)" /> constructor.</para>
</remarks>
<summary>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>Provides data for the <see cref="E:System.Web.UI.WebControls.Menu.MenuItemClick" /> and <see cref="E:System.Web.UI.WebControls.Menu.MenuItemDataBound" /> events of a <see cref="T:System.Web.UI.WebControls.Menu" /> control. This class cannot be inherited. </para>
</summary>
</Docs>
<Members>
<Member MemberName=".ctor">
<MemberSignature Language="C#" Value="public MenuEventArgs (System.Web.UI.WebControls.MenuItem item);" />
<MemberType>Constructor</MemberType>
<Parameters>
<Parameter Name="item" Type="System.Web.UI.WebControls.MenuItem" />
</Parameters>
<Docs>
<since version=".NET 2.0" />
<remarks>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>Use this constructor to create a new instance of the <see cref="T:System.Web.UI.WebControls.MenuEventArgs" /> class from the specified menu item. The following table shows initial property values for an instance of the <see cref="T:System.Web.UI.WebControls.MenuEventArgs" /> class.</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.CommandEventArgs.CommandArgument" />
</para>
</term>
<description>
<para>null</para>
</description>
</item>
<item>
<term>
<para>
<see cref="P:System.Web.UI.WebControls.CommandEventArgs.CommandName" />
</para>
</term>
<description>
<para>
<see cref="F:System.String.Empty" />
</para>
</description>
</item>
<item>
<term>
<para>
<see cref="P:System.Web.UI.WebControls.MenuEventArgs.CommandSource" />
</para>
</term>
<description>
<para>null</para>
</description>
</item>
<item>
<term>
<para>
<see cref="P:System.Web.UI.WebControls.MenuEventArgs.Item" />
</para>
</term>
<description>
<para>The <see cref="T:System.Web.UI.WebControls.MenuItem" /> object specified by the <paramref name="item" /> 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.MenuEventArgs" /> class using the specified menu item.</para>
</summary>
<param name="item">
<attribution license="cc4" from="Microsoft" modified="false" />For the <see cref="E:System.Web.UI.WebControls.Menu.MenuItemClick" /> event, this parameter represents the menu item clicked by the user. For the <see cref="E:System.Web.UI.WebControls.Menu.MenuItemDataBound" /> event, this parameter represents the menu item being bound to data.</param>
</Docs>
<AssemblyInfo>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
</AssemblyInfo>
</Member>
<Member MemberName=".ctor">
<MemberSignature Language="C#" Value="public MenuEventArgs (System.Web.UI.WebControls.MenuItem item, object source, System.Web.UI.WebControls.CommandEventArgs arguments);" />
<MemberType>Constructor</MemberType>
<Parameters>
<Parameter Name="item" Type="System.Web.UI.WebControls.MenuItem" />
<Parameter Name="source" Type="System.Object" />
<Parameter Name="arguments" Type="System.Web.UI.WebControls.CommandEventArgs" />
</Parameters>
<Docs>
<param name="source">To be added.</param>
<param name="arguments">To be added.</param>
<since version=".NET 2.0" />
<remarks>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>Use this constructor to create a new instance of the <see cref="T:System.Web.UI.WebControls.MenuEventArgs" /> class from the specified menu item, command source, and event arguments. The following table shows initial property values for an instance of the <see cref="T:System.Web.UI.WebControls.MenuEventArgs" /> class.</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.CommandEventArgs.CommandArgument" />
</para>
</term>
<description>
<para>The value of the <paramref name="originalArgs.CommandArgument" /> parameter.</para>
</description>
</item>
<item>
<term>
<para>
<see cref="P:System.Web.UI.WebControls.CommandEventArgs.CommandName" />
</para>
</term>
<description>
<para>The value of the <paramref name="originalArgs.CommandName" /> parameter.</para>
</description>
</item>
<item>
<term>
<para>
<see cref="P:System.Web.UI.WebControls.MenuEventArgs.CommandSource" />
</para>
</term>
<description>
<para>The <see cref="T:System.Object" /> specified by the <paramref name="commandSource" /> parameter.</para>
</description>
</item>
<item>
<term>
<para>
<see cref="P:System.Web.UI.WebControls.MenuEventArgs.Item" />
</para>
</term>
<description>
<para>The <see cref="T:System.Web.UI.WebControls.MenuItem" /> object specified by the <paramref name="item" /> 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.MenuEventArgs" /> class using the specified menu item, command source, and event arguments.</para>
</summary>
<param name="item">
<attribution license="cc4" from="Microsoft" modified="false" />For the <see cref="E:System.Web.UI.WebControls.Menu.MenuItemClick" /> event, this parameter represents the menu item clicked by the user. For the <see cref="E:System.Web.UI.WebControls.Menu.MenuItemDataBound" /> event, this parameter represents the menu item being bound to data.</param>
</Docs>
<AssemblyInfo>
<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.</value>
<since version=".NET 2.0" />
<remarks>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>Use the <see cref="P:System.Web.UI.WebControls.MenuEventArgs.CommandSource" /> property to access the <see cref="T:System.Object" /> that raised the event.</para>
</remarks>
<summary>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>Gets the <see cref="T:System.Object" /> that raised the event.</para>
</summary>
</Docs>
<AssemblyInfo>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
</AssemblyInfo>
</Member>
<Member MemberName="Item">
<MemberSignature Language="C#" Value="public System.Web.UI.WebControls.MenuItem Item { get; }" />
<MemberType>Property</MemberType>
<ReturnValue>
<ReturnType>System.Web.UI.WebControls.MenuItem</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.MenuEventArgs.Item" /> property to access or modify the properties of the menu item associated with the event raised. For the <see cref="E:System.Web.UI.WebControls.Menu.MenuItemClick" /> event, this item represents the menu item clicked by the user. For the <see cref="E:System.Web.UI.WebControls.Menu.MenuItemDataBound" /> event, this item represents the menu item being bound to data.</para>
</remarks>
<summary>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>Gets the menu item associated with the event raised.</para>
</summary>
</Docs>
<AssemblyInfo>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
</AssemblyInfo>
</Member>
</Members>
</Type>
|