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.

Namespace: System.Drawing.Design
Assembly: System.Drawing (in system.drawing.dll)

public ICollection Filter { get; set; }
/** @property */
public ICollection get_Filter ()

/** @property */
public void set_Filter (ICollection value)

public function get Filter () : ICollection

public function set Filter (value : ICollection)

Not applicable.

Property Value

An ICollection of ToolboxItemFilterAttribute objects.

The Filter property 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.

Windows 98, Windows Server 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0, 2.0, 1.1, 1.0