System.ComponentModel.Design.IDesignerFilter.PreFilterEvents Method

When overridden in a derived class, allows a designer to add items to the set of events that it exposes through a System.ComponentModel.TypeDescriptor.

Syntax

public void PreFilterEvents (IDictionary events)

Parameters

events
The System.ComponentModel.EventDescriptor objects that represent the events of the class of the component. The keys in the dictionary of events are event names.

Remarks

This method provides a way to add items to the dictionary of events that a designer exposes through a System.ComponentModel.TypeDescriptor.

The keys in the dictionary of events are the names of the events. The objects are of type System.ComponentModel.EventDescriptor. This method is called immediately before IDesignerFilter.PostFilterEvents(IDictionary).

Requirements

Namespace: System.ComponentModel.Design
Assembly: System (in System.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0, 4.0.0.0