TemplateEditingVerb Constructors
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes an instance of the TemplateEditingVerb class.
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. |
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
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 |
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
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 |
Comentários do .NET
O .NET é um projeto código aberto. Selecione um link para fornecer comentários: