HandledEventArgs Class

Definition

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
Inheritance
HandledEventArgs
Derived

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.

Methods

Equals(Object)

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

(Inherited from Object)
GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
ToString()

Returns a string that represents the current object.

(Inherited from Object)

Applies to

See also