ASP.NET.in.a.Nutshell.Second.Edition [Electronic resources]

G. andrew Duthie; matthew Macdonald

نسخه متنی -صفحه : 873/ 497
نمايش فراداده

TemplateEditingVerbdisposable

System.Web.UI.Design (system.design.dll)class

This class represents a type of verb that can be invoked only by a template editor (like TemplatedControlDesigner, System.Web.UI.Design.WebControls.DataListDesigner, and System.Web.UI.Design.WebControls.DataGridDesigner).

A verb is a menu command that appears in the context menu when you right-click a control.

public class 

TemplateEditingVerb : System.ComponentModel.Design.DesignerVerb, IDisposable { // Public Constructors public

TemplateEditingVerb (string

text , int

index , TemplatedControlDesigner

designer ); // Public Instance Properties public int

Index {get; } // Public Instance Methods public void

Dispose ( ); // implements IDisposable // Protected Instance Methods protected virtual void

Dispose (bool

disposing ); protected override void

Finalize ( ); // overrides object }

Hierarchy

System.Object System.ComponentModel.Design.MenuCommand System.ComponentModel.Design.DesignerVerb TemplateEditingVerb(System.IDisposable)

Returned By

ITemplateEditingFrame.Verb, TemplatedControlDesigner.{GetCachedTemplateEditingVerbs( ), GetTemplateEditingVerbs( )}

Passed To

ITemplateEditingFrame.Verb, TemplatedControlDesigner.CreateTemplateEditingFrame( )