Επεξεργασία

Κοινή χρήση μέσω


TemplateEditingVerb Constructors

Definition

Initializes an instance of the TemplateEditingVerb class.

Overloads

TemplateEditingVerb(String, Int32)

Initializes a new instance of the TemplateEditingVerb class with the specified verb text and index.

TemplateEditingVerb(String, Int32, TemplatedControlDesigner)

Initializes a new instance of the TemplateEditingVerb class.

TemplateEditingVerb(String, Int32)

Initializes a new instance of the TemplateEditingVerb class with the specified verb text and index.

public:
 TemplateEditingVerb(System::String ^ text, int index);
public TemplateEditingVerb (string text, int index);
new System.Web.UI.Design.TemplateEditingVerb : string * int -> System.Web.UI.Design.TemplateEditingVerb
Public Sub New (text As String, index As Integer)

Parameters

text
String

The text to show for the verb on a menu.

index
Int32

An optional integer value that can be used by a designer, typically to indicate the index of the verb within a set of verbs.

Remarks

Note

The TemplateEditingVerb class is obsolete. Expose templates through the TemplateGroups property of a control designer. The design host creates a TemplatedEditableDesignerRegion for each TemplateGroup defined for a control designer.

See also

Applies to

TemplateEditingVerb(String, Int32, TemplatedControlDesigner)

Initializes a new instance of the TemplateEditingVerb class.

public:
 TemplateEditingVerb(System::String ^ text, int index, System::Web::UI::Design::TemplatedControlDesigner ^ designer);
public TemplateEditingVerb (string text, int index, System.Web.UI.Design.TemplatedControlDesigner designer);
new System.Web.UI.Design.TemplateEditingVerb : string * int * System.Web.UI.Design.TemplatedControlDesigner -> System.Web.UI.Design.TemplateEditingVerb
Public Sub New (text As String, index As Integer, designer As TemplatedControlDesigner)

Parameters

text
String

The text to show for the verb on a menu.

index
Int32

An optional integer value that can be used by a designer, typically to indicate the index of the verb within a set of verbs.

designer
TemplatedControlDesigner

The TemplatedControlDesigner that can use this verb.

Remarks

Note

The TemplateEditingVerb class is obsolete. Expose templates through the TemplateGroups property of a control designer. The design host creates a TemplatedEditableDesignerRegion for each TemplateGroup defined for a control designer.

See also

Applies to