IDesigner.Verbs 屬性

定義

取得設計工具所支援的設計階段動詞命令集合。

public:
 property System::ComponentModel::Design::DesignerVerbCollection ^ Verbs { System::ComponentModel::Design::DesignerVerbCollection ^ get(); };
public System.ComponentModel.Design.DesignerVerbCollection Verbs { get; }
public System.ComponentModel.Design.DesignerVerbCollection? Verbs { get; }
member this.Verbs : System.ComponentModel.Design.DesignerVerbCollection
Public ReadOnly Property Verbs As DesignerVerbCollection

屬性值

DesignerVerbCollection,包含設計工具所支援的動詞命令,如果元件沒有動詞命令則為 null

備註

傳回與設計工具相關聯之元件所支援的設計時間動詞。 這個方法所傳回的動詞通常是由單擊滑鼠右鍵功能表中的設計時間環境所顯示。 當用戶選取其中一個動詞時,會叫用對應的 DesignerVerb 事件處理程式。

注意

設計時間環境通常會在元件的右鍵功能表上提供 [屬性...] 專案。 若要避免功能表項重複的標題,沒有標題為 “Properties...”應該包含在中 DesignerVerbCollection

適用於

另請參閱