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 (string text, int index);

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

Nota

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

.NET Framework 4.8.1 e outras versões
Produto Versões
.NET Framework 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1

TemplateEditingVerb(String, Int32, TemplatedControlDesigner)

Initializes a new instance of the TemplateEditingVerb class.

public TemplateEditingVerb (string text, int index, System.Web.UI.Design.TemplatedControlDesigner designer);

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

Nota

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

.NET Framework 4.8.1 e outras versões
Produto Versões
.NET Framework 1.1, 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1