次の方法で共有


ComponentDocumentDesigner.PreFilterProperties メソッド

TypeDescriptor を通じてコンポーネントが公開するプロパティのセットを調整します。

Overrides Protected Sub PreFilterProperties( _
   ByVal properties As IDictionary _)
[C#]
protected override void PreFilterProperties(IDictionaryproperties);
[C++]
protected: void PreFilterProperties(IDictionary* properties);
[JScript]
protected override function PreFilterProperties(
   properties : IDictionary);

パラメータ

  • properties
    コンポーネントのクラスのプロパティが格納されている IDictionary

解説

この IDesignerFilter インターフェイス メソッド オーバーライドは、デザイン時にこのデザイナのコンポーネントに対して、参照不可でデザイン時専用の、"TrayLargeIcon" という名前の boolean プロパティを追加します。このプロパティは、コンポーネント トレイによって使用されます。

必要条件

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

.NET Framework セキュリティ:

参照

ComponentDocumentDesigner クラス | ComponentDocumentDesigner メンバ | System.Windows.Forms.Design 名前空間 | IDesignerFilter