March 2003
Intermediate to advanced
896 pages
32h 35m
English
ToolboxItemFilterAttribute
This attribute adorns a class to allow the framework to filter its
availability conditionally on the presence of a similar attribute on
the designer, or using a custom filter provided by the designer by
implementing the
System.Drawing.Design.IToolboxUser.GetToolSupported( ) method.
You can retrieve the FilterString and
FilterType for the attribute.
public sealed class ToolboxItemFilterAttribute : Attribute { // Public Constructors public ToolboxItemFilterAttribute(string filterString); public ToolboxItemFilterAttribute(string filterString, ToolboxItemFilterType filterType); // Public Instance Properties public string FilterString{get; } public ToolboxItemFilterType FilterType{get; } public override object TypeId{get; } // overrides Attribute // Public Instance Methods public override bool Equals(object obj); // overrides Attribute public override int GetHashCode(); // overrides Attribute public override bool Match(object obj); // overrides Attribute }
System.Object
→ System.Attribute → ToolboxItemFilterAttribute
Class
Read now
Unlock full access