Provides a way to filter the properties from a component that are displayed to the user.
[Visual Basic] Function FilterProperties( _ ByVal component As IComponent, _ ByVal properties As IDictionary _ ) As Boolean [C#] bool FilterProperties( IComponent component, IDictionary properties ); [C++] bool FilterProperties( IComponent* component, IDictionary* properties ) = 0; [JScript] function FilterProperties( component : IComponent, properties : IDictionary ) : Boolean;
The service should return true if the resulting set of filtered properties can be cached; false if the filter service should be re-queried.
This method is called when a user requests a set of properties for a component. The properties will be added to the dictionary with the property names as the keys. Implementers of this service may make changes, add, or remove properties in the dictionary.
Notes to Implementers: Return false only when absolutely necessary, as it impacts performance.
ITypeDescriptorFilterService Interface | ITypeDescriptorFilterService Members | System.ComponentModel.Design Namespace