GridCommandEventArgs
Class
Provides data for Command events including CancelCommand, DeleteCommand, EditCommand, InsertCommand, ItemCommand, SortCommand and UpdateCommand.
Definition
Namespace:Telerik.Web.UI
Assembly:Telerik.Web.UI.dll
Syntax:
C#
public class GridCommandEventArgs : CommandEventArgs, IGridCommandEvent
Inheritance: objectEventArgsCommandEventArgsGridCommandEventArgs
Derived Classes:
Implements:
Inherited Members
Constructors
C#
public GridCommandEventArgs(GridItem item, object commandSource, CommandEventArgs originalArgs)
Properties
Gets or sets a value, defining whether the command should be canceled.
C#
public bool Canceled { get; set; }
Implements:
Gets the source of the command
C#
public object CommandSource { get; }
Methods
Fires the command stored in CommandName property
C#
[SuppressMessage("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily")]
public virtual void ExecuteCommand(object source)
Implements: