GridViewCommandEventArgs.Handled 属性

定义

获取或设置指示控件是否已处理事件的值。

public:
 property bool Handled { bool get(); void set(bool value); };
public bool Handled { get; set; }
member this.Handled : bool with get, set
Public Property Handled As Boolean

属性值

如果数据绑定事件代码跳过或已完成,则为 true;否则为 false

注解

在事件处理程序中将此属性设置为 , true 以指定 GridView 控件不应处理事件,因为你在代码中处理它。

适用于