NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

IDesignerFilter.PreFilterProperties

Allows a designer to filter the set of properties the component it is designing will expose through the TypeDescriptor object.

[Visual Basic]
Sub PreFilterProperties( _
   ByVal properties As IDictionary _
)
[C#]
void PreFilterProperties(
   IDictionary properties
);
[C++]
void PreFilterProperties(
   IDictionary* properties
) = 0;
[JScript]
function PreFilterProperties(
   properties : IDictionary
);

Parameters

properties
The properties for the class of the component. The keys in the dictionary are event names.

Return Value

The augmented set of properties.

Remarks

This method is called immediately before its corresponding "Post" method. If you are overriding this method, call the base implementation before you perform your own filtering.If the method does not modify any properties, it may just return a reference to its input parameter. If you do make a change to the properties, you must create a new array.

See Also

IDesignerFilter Interface | IDesignerFilter Members | System.ComponentModel.Design Namespace | System.ComponentModel.Design.ITypeDescriptorService.FilterProperties