HandledEventArgs Class

Definition

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

public class HandledEventArgs : EventArgs
Inheritance
HandledEventArgs
Derived

Inherited Members

System.EventArgs

System.Object

Remarks

Typically, the value of the 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.

Constructors

HandledEventArgs()

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

HandledEventArgs(Boolean)

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

Properties

Handled

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.