System.ComponentModel.HandledEventArgs Class

Provides data for events that can be handled completely in an event handler.

See Also: HandledEventArgs


public class HandledEventArgs : EventArgs


Typically, the value of the HandledEventArgs.Handled property is set in an event handler to indicate that the system should perform no further processing.

This class is a base class for types such as the DataGridViewCellPaintingEventArgs, DataGridViewRowPrePaintEventArgs, DataGridViewRowHeightInfoPushedEventArgs, and DataGridViewSortCompareEventArgs classes.


Namespace: System.ComponentModel
Assembly: System (in System.dll)
Assembly Versions:,
Since: .NET 2.0

The members of System.ComponentModel.HandledEventArgs are listed below.

See Also: EventArgs

Public Constructors

Initializes a new instance of the HandledEventArgs class with a default HandledEventArgs.Handled property value of false.

Initializes a new instance of the HandledEventArgs class with the specified default value for the HandledEventArgs.Handled property.

Public Properties


Gets or sets a value that indicates whether the event handler has completely handled the event or whether the system should continue its own processing.