DesignSurfaceManager.ActiveDesignSurface プロパティとは? わかりやすく解説

Weblio 辞書 > コンピュータ > .NET Framework クラス ライブラリ リファレンス > DesignSurfaceManager.ActiveDesignSurface プロパティの意味・解説 

DesignSurfaceManager.ActiveDesignSurface プロパティ

メモ : このプロパティは、.NET Framework version 2.0 で新しく追加されたものです。

アクティブなデザイナを取得または設定します。

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

Public Overridable Property
 ActiveDesignSurface As DesignSurface
Dim instance As DesignSurfaceManager
Dim value As DesignSurface

value = instance.ActiveDesignSurface

instance.ActiveDesignSurface = value
public virtual DesignSurface ActiveDesignSurface { get;
 set; }
public:
virtual property DesignSurface^ ActiveDesignSurface {
    DesignSurface^ get ();
    void set (DesignSurface^ value);
}
/** @property */
public DesignSurface get_ActiveDesignSurface ()

/** @property */
public void set_ActiveDesignSurface (DesignSurface
 value)
public function get ActiveDesignSurface
 () : DesignSurface

public function set ActiveDesignSurface
 (value : DesignSurface)

プロパティ値
アクティブなデザイナ。

解説解説

ActiveDesignSurface プロパティは、デザイナがアクティブ ウィンドウになったときに、そのデザイナのユーザー インターフェイスによって設定される必要があります。このプロパティの既定の実装は、IDesignerEventService インターフェイスの既定の実装と連動して、新しいデザイナが現在アクティブであることを関係先に通知します。IDesignerEventService の独自の実装を提供する場合、このプロパティをオーバーライドして、サービスに適切に通知する必要があります。このプロパティに null 参照 (Visual Basic では Nothing) を設定すると、アクティブなデザイナがないことを示すことができます。

.NET Framework のセキュリティ.NET Framework のセキュリティ
プラットフォームプラットフォーム
バージョン情報バージョン情報
参照参照
関連項目
DesignSurfaceManager クラス
DesignSurfaceManager メンバ
System.ComponentModel.Design 名前空間



英和和英テキスト翻訳

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

辞書ショートカット

すべての辞書の索引

DesignSurfaceManager.ActiveDesignSurface プロパティのお隣キーワード
検索ランキング

   

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



DesignSurfaceManager.ActiveDesignSurface プロパティのページの著作権

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

©2026 GRAS Group, Inc.RSS