TemplateEditingVerb.Index 属性

定义

获取该谓词的索引或其他用户数据。Gets the index or other user data for the verb.

public:
 property int Index { int get(); };
public int Index { get; }
member this.Index : int
Public ReadOnly Property Index As Integer

属性值

Int32

该谓词的索引或用户数据。The index or user data for the verb.

注解

此属性有时用于存储谓词集中每个谓词的索引。This property is sometimes used to store the index of each verb in a set of verbs. 实现自定义设计器时,此属性可用于存储自定义的整数数据。When implementing a custom designer, this property can be used to store custom-defined integer data.

备注

TemplateEditingVerb 类已过时。The TemplateEditingVerb class is obsolete. 通过 TemplateGroups 控件设计器的属性公开模板。Expose templates through the TemplateGroups property of a control designer. 设计宿主 TemplatedEditableDesignerRegion 为控件设计器的每个定义都创建一个 TemplateGroupThe design host creates a TemplatedEditableDesignerRegion for each TemplateGroup defined for a control designer.

适用于

另请参阅