次の方法で共有


ComponentDesigner.ShadowPropertyCollection クラス

特定のプロパティに対して継承された既定値や割り当てられた値をオーバーライドするシャドウ プロパティのコレクションを表します。このクラスは継承できません。

この型のすべてのメンバの一覧については、ComponentDesigner.ShadowPropertyCollection メンバ を参照してください。

System.Object
   System.ComponentModel.Design.ComponentDesigner.ShadowPropertyCollection

NotInheritable Protected Class _
   ComponentDesigner.ShadowPropertyCollection
[C#]
protected sealed class ComponentDesigner.ShadowPropertyCollection
[C++]
protected __gc __sealed class
   ComponentDesigner.ShadowPropertyCollection
[JScript]
protected class ComponentDesigner.ShadowPropertyCollection

スレッドセーフ

この型の public static (Visual Basicでは Shared) のすべてのメンバは、マルチスレッド操作で安全に使用できます。インスタンスのメンバの場合は、スレッドセーフであるとは限りません。

解説

ComponentDesigner.ShadowPropertyCollection は、特定のプロパティの値のうち、そのプロパティに割り当てられた別の値をデザイン時にオーバーライドする値のコレクションを格納します。これは、特定のプロパティを特定の値に設定するために役立ちます。たとえば、背景フォームの visible プロパティを必ず true に設定する必要がある場合などが考えられます。

必要条件

名前空間: System.ComponentModel.Design

プラットフォーム: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 ファミリ

アセンブリ: System.Design (System.Design.dll 内)

参照

ComponentDesigner.ShadowPropertyCollection メンバ | System.ComponentModel.Design 名前空間 | ShadowProperties