HandledEventArgs HandledEventArgs HandledEventArgs HandledEventArgs Class


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

public ref class HandledEventArgs : EventArgs
public class HandledEventArgs : EventArgs
type HandledEventArgs = class
    inherit EventArgs
Public Class HandledEventArgs
Inherits EventArgs


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.


HandledEventArgs() HandledEventArgs() HandledEventArgs() HandledEventArgs()

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

HandledEventArgs(Boolean) HandledEventArgs(Boolean) HandledEventArgs(Boolean) HandledEventArgs(Boolean)

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


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


Equals(Object) Equals(Object) Equals(Object) Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetHashCode() GetHashCode() GetHashCode() GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetType() GetType() GetType() GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone() MemberwiseClone() MemberwiseClone() MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
ToString() ToString() ToString() ToString()

Returns a string that represents the current object.

(Inherited from Object)

Applies to

See also