GridViewCommandEventArgs.Handled Property

.NET Framework (current version)

Gets or sets a value that indicates whether the control has handled the event.

Namespace:   System.Web.UI.WebControls
Assembly:  System.Web (in System.Web.dll)

public bool Handled { get; set; }

Property Value

Type: System.Boolean

true if data-bound event code was skipped or has finished; otherwise, false.

Set this property to true in the event handler to specify that the GridView control should not handle the event because you are handling it in your code.

.NET Framework
Available since 4.5
Return to top