This documentation is archived and is not being maintained.

ToolboxItem.Filter Property

Gets or sets the filter that determines whether the toolbox item can be used on a destination component.

[Visual Basic]
Public Property Filter As ICollection
[C#]
public ICollection Filter {get; set;}
[C++]
public: __property ICollection* get_Filter();
public: __property void set_Filter(ICollection*);
[JScript]
public function get Filter() : ICollection;
public function set Filter(ICollection);

Property Value

An ICollection collection of ToolboxItemFilterAttribute objects.

Remarks

This property's collection contains ToolboxItemFilterAttribute objects that specify the policy that the design-time environment uses to determine whether a toolbox item can be used on the destination component.

For more information on restricting the scope in which a ToolboxItem can be used, see the documentation for the ToolboxItemFilterAttribute class.

Requirements

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also

ToolboxItem Class | ToolboxItem Members | System.Drawing.Design Namespace | ToolboxItemFilterAttribute

Show: