TemplateEditingVerb Constructors
Definition
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.
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
.NET
피드백
https://aka.ms/ContentUserFeedback
출시 예정: 2024년 내내 콘텐츠에 대한 피드백 메커니즘으로 GitHub 문제를 단계적으로 폐지하고 이를 새로운 피드백 시스템으로 바꿀 예정입니다. 자세한 내용은 다음을 참조하세요.다음에 대한 사용자 의견 제출 및 보기