HandledEventArgs Class

 

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

Namespace:   System.ComponentModel
Assembly:  System (in System.dll)


<HostProtectionAttribute(SecurityAction.LinkDemand, SharedState := True)>
Public Class HandledEventArgs
	Inherits EventArgs

NameDescription
System_CAPS_pubmethodHandledEventArgs()

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

System_CAPS_pubmethodHandledEventArgs(Boolean)

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

NameDescription
System_CAPS_pubpropertyHandled

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.

NameDescription
System_CAPS_pubmethodEquals(Object)

Determines whether the specified object is equal to the current object.(Inherited from Object.)

System_CAPS_protmethodFinalize()

Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

Serves as the default hash function. (Inherited from Object.)

System_CAPS_pubmethodGetType()

Gets the Type of the current instance.(Inherited from Object.)

System_CAPS_protmethodMemberwiseClone()

Creates a shallow copy of the current Object.(Inherited from Object.)

System_CAPS_pubmethodToString()

Returns a string that represents the current object.(Inherited from Object.)

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.

.NET Framework
Available since 2.0

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show: