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

適用於

另請參閱