次の方法で共有


ParentControlDesigner.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 インターフェイス メソッド オーバーライドは、グリッド表示と子コントロールの配置に関連するオプションをユーザーが設定できるようにするデザイナのコントロールに、一連のプロパティを追加します。このメソッドは、参照可能なプロパティである "DrawGrid"、"SnapToGrid"、および "GridSize" を追加します。

必要条件

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

.NET Framework セキュリティ:

参照

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