IDesigner.Verbs プロパティ
定義
デザイナーでサポートされているデザイン時動詞のコレクションを取得します。Gets a collection of the design-time verbs supported by the designer.
public:
property System::ComponentModel::Design::DesignerVerbCollection ^ Verbs { System::ComponentModel::Design::DesignerVerbCollection ^ get(); };
public System.ComponentModel.Design.DesignerVerbCollection Verbs { get; }
member this.Verbs : System.ComponentModel.Design.DesignerVerbCollection
Public ReadOnly Property Verbs As DesignerVerbCollection
プロパティ値
デザイナーでサポートされている動詞を含む DesignerVerbCollection。コンポーネントに動詞がない場合は null
。A DesignerVerbCollection that contains the verbs supported by the designer, or null
if the component has no verbs.
注釈
デザイナーに関連付けられているコンポーネントでサポートされているデザイン時の動詞を返します。Returns the design time verbs supported by the component associated with the designer. このメソッドによって返される動詞は、通常、デザイン時環境によって右クリックメニューに表示されます。The verbs returned by this method are typically displayed by the design-time environment in a right-click menu. ユーザーがいずれかの動詞を選択すると、対応するDesignerVerbのイベントハンドラーが呼び出されます。When a user selects one of the verbs, the event handler of the corresponding DesignerVerb is invoked.
注意
通常、デザイン時環境では、コンポーネントの右クリックメニューにプロパティ... エントリが用意されています。A design-time environment typically provides a Properties... entry on a component's right-click menu. メニューエントリのタイトルが重複しないようにするには、動詞に "Properties..." というタイトルを付けます。に含める必要がありDesignerVerbCollectionます。To avoid duplicate titles for menu entries, no verb with a title of "Properties..." should be included in a DesignerVerbCollection.