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
继承
HandledEventArgsHandledEventArgsHandledEventArgsHandledEventArgs
派生

注解

通常情况下,值Handled属性设置中的事件处理程序,以指示系统应执行无需进一步处理。Typically, the value of the Handled property is set in an event handler to indicate that the system should perform no further processing.

此类是基类类型的类,如DataGridViewCellPaintingEventArgsDataGridViewRowPrePaintEventArgsDataGridViewRowHeightInfoPushedEventArgs,和DataGridViewSortCompareEventArgs类。This class is a base class for types such as the DataGridViewCellPaintingEventArgs, DataGridViewRowPrePaintEventArgs, DataGridViewRowHeightInfoPushedEventArgs, and DataGridViewSortCompareEventArgs classes.

构造函数

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

HandledEventArgs 属性的默认值 false 初始化 Handled 类的新实例。Initializes a new instance of the HandledEventArgs class with a default Handled property value of false.

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

HandledEventArgs 属性的指定默认值初始化 Handled 类的新实例。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()

获取当前实例的 TypeGets the Type of the current instance.

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

创建当前 Object 的浅表副本。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)

适用于

另请参阅