a575963da9
Former-commit-id: da6be194a6b1221998fc28233f2503bd61dd9d14
35 lines
3.6 KiB
XML
35 lines
3.6 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<Type Name="WebPartVerbsEventHandler" FullName="System.Web.UI.WebControls.WebParts.WebPartVerbsEventHandler">
|
|
<TypeSignature Language="C#" Value="public delegate void WebPartVerbsEventHandler(object source, WebPartVerbsEventArgs e);" />
|
|
<AssemblyInfo>
|
|
<AssemblyName>System.Web</AssemblyName>
|
|
<AssemblyVersion>2.0.0.0</AssemblyVersion>
|
|
</AssemblyInfo>
|
|
<Base>
|
|
<BaseTypeName>System.Delegate</BaseTypeName>
|
|
</Base>
|
|
<Parameters>
|
|
<Parameter Name="source" Type="System.Object" />
|
|
<Parameter Name="e" Type="System.Web.UI.WebControls.WebParts.WebPartVerbsEventArgs" />
|
|
</Parameters>
|
|
<ReturnValue>
|
|
<ReturnType>System.Void</ReturnType>
|
|
</ReturnValue>
|
|
<Docs>
|
|
<param name="source">To be added.</param>
|
|
<param name="e">To be added.</param>
|
|
<since version=".NET 2.0" />
|
|
<remarks>
|
|
<attribution license="cc4" from="Microsoft" modified="false" />
|
|
<para>The <see cref="T:System.Web.UI.WebControls.WebParts.WebPartVerbsEventHandler" /> class is used to specify the methods that are invoked in response to a <see cref="E:System.Web.UI.WebControls.WebParts.WebPartZoneBase.CreateVerbs" /> event, which occurs when the Web Parts verbs are created for a zone that derives from the <see cref="T:System.Web.UI.WebControls.WebParts.WebPartZoneBase" /> class.</para>
|
|
<para>Web Parts verbs represent actions that users can perform in the user interface (UI) of a Web Parts page, such as minimizing, closing, or restoring controls; adding controls to a page; or canceling an action. Verbs can appear in both the header and footer areas of a zone, and there are both standard verbs provided with the Web Parts control set, and custom verbs that can be added by developers. A verb is represented in the UI by a clickable object, which you can set to appear as a hyperlink, an image, or a button, by using the <see cref="P:System.Web.UI.WebControls.WebParts.WebPartZoneBase.VerbButtonType" /> property.</para>
|
|
<para>A <see cref="T:System.Web.UI.WebControls.WebParts.WebPartZone" /> zone provides a standard set of verbs that get rendered in a Web Parts control's verbs menu. A custom Web Parts zone, or a Web Parts control inside a Web Parts zone, can add additional verbs to the menu.</para>
|
|
<para>A control in a Web Parts zone can add verbs to the control's verbs menu by inheriting from the <see cref="T:System.Web.UI.WebControls.WebParts.WebPart" /> base class and overriding the <see cref="P:System.Web.UI.WebControls.WebParts.WebPart.Verbs" /> property. If the control does not inherit from the <see cref="T:System.Web.UI.WebControls.WebParts.WebPart" /> base class, you can add a new verb by implementing the <see cref="T:System.Web.UI.WebControls.WebParts.IWebActionable" /> interface, and then overriding the <see cref="P:System.Web.UI.WebControls.WebParts.IWebActionable.Verbs" /> collection.</para>
|
|
<para>The protected <see cref="M:System.Web.UI.WebControls.WebParts.WebPartZoneBase.OnCreateVerbs(System.Web.UI.WebControls.WebParts.WebPartVerbsEventArgs)" /> method allows derived classes to override the event without attaching a delegate to it. A derived class must always call the <see cref="M:System.Web.UI.WebControls.WebParts.WebPartZoneBase.OnCreateVerbs(System.Web.UI.WebControls.WebParts.WebPartVerbsEventArgs)" /> method of the base class to ensure that registered delegates receive the event.</para>
|
|
</remarks>
|
|
<summary>
|
|
<attribution license="cc4" from="Microsoft" modified="false" />
|
|
<para>Represents the delegate for the <see cref="E:System.Web.UI.WebControls.WebParts.WebPartZoneBase.CreateVerbs" /> event. </para>
|
|
</summary>
|
|
</Docs>
|
|
</Type> |