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.PreFilterEvents

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

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

Parameters

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

Return Value

The augmented set of events.

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 events, it may just return a reference to its input parameter. If you do make a change to the events, you must create a new array.

See Also

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