Share via


ClearFilter Event

The ClearFilter event of the IFilterProvider interface notifies the consumer Web Part to clear the current filter.

Event Data

The event handler receives a sender parameter which is a reference to the calling object (typically, this) and a System.EventArgs object which in this case is NULL.

Example

The following code example shows an overridden PartCommunicationMain method that fires the ClearFilter event. This code example is part of a larger example provided for the IFilterProvider interface.

Requirements

Platforms: Microsoft Windows Server 2003

Security: Code Access Security