DesignerActionListとは? わかりやすく解説

DesignerActionList クラス

メモ : このクラスは、.NET Framework version 2.0新しく追加されたものです。

スマート タグ パネル作成使用する項目のリスト定義する型の基本クラス提供します

名前空間: System.ComponentModel.Design
アセンブリ: System.Design (system.design.dll 内)
構文構文

Public Class DesignerActionList
Dim instance As DesignerActionList
public class DesignerActionList
public ref class DesignerActionList
public class DesignerActionList
public class DesignerActionList
解説解説

DesignerAction 機能は、コンポーネントおよびコントロール状況依存情報コマンド表示できるようにします。DesignerActionItem は、スマート タグ パネル表示でき、コンポーネントまたはコントロール関連付けられたショートカット メニューにも表示できるため、DesignerAction 機能デザイナ動詞置き換えたものと考えることができますDesignerActionList クラスは、カスタム コンポーネントカスタム コントロールスマート タグサポート追加する必要のある開発者にとって対話の主要ポイント表します

DesignerActionList基本クラスです。コンポーネント開発者は、このクラスからクラス派生しスマート タグ パネル設定しますスマート タグ パネルは、スマート タグ使用するメニューのようなユーザー インターフェイス (UI: User Interface) を表します

この派生クラスは、virtualGetSortedActionItems メソッド実装し、DesignerActionItem から派生したオブジェクトコレクション返します。これらのオブジェクトは、スマート タグ パネルの項目を表します。各項目は、その型に従ってパネル表示されます。たとえば、DesignerActionTextItem は、静的テキスト ラベルとして表示されます。DesignerActionPropertyItem 型と DesignerActionMethodItem 型によって表されるアクティブパネル項目には、それぞれパブリックアクセスできる対応するプロパティまたはメソッドあります。これらのプロパティまたはメソッドは、その項目の機能実装ます。

スマート タグ パネルに項目を追加する方法詳細については、GetSortedActionItems メソッドに関するトピック参照してください

メモメモ

フォームダイアログ ボックスは、DesignerActionList から派生したクラスメンバによって表示できます既定では、これらのウィンドウの親は、スマート タグ パネルコンテナ ウィンドウです。別のサービスまたはウィンドウ明示的にこれらの子ウィンドウの親にすると、スマート タグ適切に表示されない場合あります

使用例使用例

DesignerActionItem オブジェクトコレクション作成する方法次のコード例示します

このコード例詳細については、「方法 : Windows フォーム コンポーネントスマート タグ追加する」を参照してください

Public Class ColorLabelActionList
    Inherits System.ComponentModel.Design.DesignerActionList
public class ColorLabelActionList :
          System.ComponentModel.Design.DesignerActionList
継承階層継承階層
System.Object
  System.ComponentModel.Design.DesignerActionList
スレッド セーフスレッド セーフ
この型の public static (Visual Basic では Shared) メンバはすべて、スレッド セーフです。インスタンス メンバ場合は、スレッド セーフであるとは限りません。
プラットフォームプラットフォーム
バージョン情報バージョン情報
参照参照
関連項目
DesignerActionList メンバ
System.ComponentModel.Design 名前空間
DesignerVerb
DesignerActionItem クラス
GetSortedActionItems
DesignerActionListCollection
その他の技術情報
Windows フォームデザイナ コマンドと DesignerAction オブジェクト モデル

DesignerActionList コンストラクタ

メモ : このコンストラクタは、.NET Framework version 2.0新しく追加されたものです。

DesignerActionList クラス新しインスタンス初期化します。

名前空間: System.ComponentModel.Design
アセンブリ: System.Design (system.design.dll 内)
構文構文

Public Sub New ( _
    component As IComponent _
)
Dim component As IComponent

Dim instance As New DesignerActionList(component)
public DesignerActionList (
    IComponent component
)
public:
DesignerActionList (
    IComponent^ component
)
public DesignerActionList (
    IComponent component
)
public function DesignerActionList (
    component : IComponent
)

パラメータ

component

DesignerActionList に関連するコンポーネント

解説解説
使用例使用例

DesignerActionItem オブジェクトコレクション作成する方法次のコード例示します

このコード例詳細については、「方法 : Windows フォーム コンポーネントスマート タグ追加する」を参照してください

Public Sub New(ByVal
 component As IComponent)

    MyBase.New(component)
    Me.colLabel = component

    ' Cache a reference to DesignerActionUIService, so the
    ' DesigneractionList can be refreshed.
    Me.designerActionUISvc = _
    CType(GetService(GetType(DesignerActionUIService)), _
    DesignerActionUIService)

End Sub
public ColorLabelActionList( IComponent component ) : base(component)
 
{
    this.colLabel = component as ColorLabel;

    // Cache a reference to DesignerActionUIService, so the
    // DesigneractionList can be refreshed.
    this.designerActionUISvc =
        GetService(typeof(DesignerActionUIService))
        as DesignerActionUIService;
}
.NET Framework のセキュリティ.NET Frameworkセキュリティ
プラットフォームプラットフォーム
バージョン情報バージョン情報
参照参照
関連項目
DesignerActionList クラス
DesignerActionList メンバ
System.ComponentModel.Design 名前空間

DesignerActionList プロパティ


パブリック プロパティパブリック プロパティ

参照参照

関連項目

DesignerActionList クラス
System.ComponentModel.Design 名前空間
DesignerVerb
DesignerActionItem クラス
GetSortedActionItems
DesignerActionListCollection

その他の技術情報

Windows フォームデザイナ コマンドと DesignerAction オブジェクト モデル

DesignerActionList メソッド


パブリック メソッドパブリック メソッド

プロテクト メソッドプロテクト メソッド
参照参照

関連項目

DesignerActionList クラス
System.ComponentModel.Design 名前空間
DesignerVerb
DesignerActionItem クラス
GetSortedActionItems
DesignerActionListCollection

その他の技術情報

Windows フォームデザイナ コマンドと DesignerAction オブジェクト モデル

DesignerActionList メンバ

スマート タグ パネル作成使用する項目のリスト定義する型の基本クラス提供します

DesignerActionList データ型公開されるメンバを以下の表に示します


パブリック コンストラクタパブリック コンストラクタ
  名前 説明
パブリック メソッド DesignerActionList DesignerActionList クラス新しインスタンス初期化します。
パブリック プロパティパブリック プロパティ
パブリック メソッドパブリック メソッド
プロテクト メソッドプロテクト メソッド
参照参照

関連項目

DesignerActionList クラス
System.ComponentModel.Design 名前空間
DesignerVerb
DesignerActionItem クラス
GetSortedActionItems
DesignerActionListCollection

その他の技術情報

Windows フォームデザイナ コマンドと DesignerAction オブジェクト モデル



英和和英テキスト翻訳>> Weblio翻訳
英語⇒日本語日本語⇒英語
  

辞書ショートカット

すべての辞書の索引

「DesignerActionList」の関連用語

DesignerActionListのお隣キーワード
検索ランキング

   

英語⇒日本語
日本語⇒英語
   



DesignerActionListのページの著作権
Weblio 辞書 情報提供元は 参加元一覧 にて確認できます。

   
日本マイクロソフト株式会社日本マイクロソフト株式会社
© 2025 Microsoft.All rights reserved.

©2025 GRAS Group, Inc.RSS