New to Telerik UI for ASP.NET AJAX? Start a free 30-day trial

The arguments passed when RadTreeList fires a command event.

Definition

Constructors

C#
[SuppressMessage("Microsoft.Usage", "CA2214:DoNotCallOverridableMethodsInConstructors")]
public TreeListCommandEventArgs(TreeListItem treeListItem, object eventSource, CommandEventArgs args)
Parameters:treeListItemTreeListItemeventSourceobjectargsCommandEventArgs

Properties

Gets or sets a value indicating whether the current command is cancelled.

C#
public virtual bool Canceled { get; set; }

Implements: ITreeListCommandEvent.Canceled

Gets the control which was responsible for firing the event.

C#
public object EventSource { get; set; }

The item in which the command was triggered.

C#
public virtual TreeListItem Item { get; set; }

Methods

Forces the execution of the command that triggered the event.

C#
[SuppressMessage("Microsoft.Globalization", "CA1309:UseOrdinalStringComparison", MessageId = "System.String.Compare(System.String,System.String,System.Boolean,System.Globalization.CultureInfo)")]
public virtual void ExecuteCommand(object source)
Parameters:sourceobject

The owner RadTreeList object

Implements: ITreeListCommandEvent.ExecuteCommand(object)