Class CommandList
Inheritance
System.Object
CommandList
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Telerik.WinControls.Commands
Assembly: Telerik.WinControls.dll
Syntax
public class CommandList : ICommandSource, IEnumerable
Constructors
CommandList()
Declaration
public CommandList()
Properties
Commands
Declaration
public List<ICommand> Commands { get; }
Property Value
|
System.Collections.Generic.List<ICommand>
|
Item[Object]
Declaration
public ICommand this[object id] { get; }
Parameters
|
System.Object
id
|
Property Value
|
ICommand
|
Item[String]
Declaration
public ICommand this[string id] { get; set; }
Parameters
|
System.String
id
|
Property Value
|
ICommand
|
Methods
AddCommand(ICommand)
Declaration
public bool AddCommand(ICommand command)
Parameters
|
ICommand
command
|
Returns
|
System.Boolean
|
AddCommands(List<ICommand>)
Declaration
public void AddCommands(List<ICommand> list)
Parameters
|
System.Collections.Generic.List<ICommand>
list
|
AddCommands(CommandList)
Contains(String)
Declaration
public bool Contains(string id)
Parameters
|
System.String
id
|
Returns
|
System.Boolean
|
Contains(ICommand)
Declaration
public bool Contains(ICommand command)
Parameters
|
ICommand
command
|
Returns
|
System.Boolean
|
GetCommand(String)
GetEnumerator()
Declaration
public IEnumerator GetEnumerator()
Returns
|
System.Collections.IEnumerator
|
Implements
System.Collections.IEnumerable.GetEnumerator()
RemoveCommand(String)
Declaration
public bool RemoveCommand(string id)
Parameters
|
System.String
id
|
Returns
|
System.Boolean
|
RemoveCommand(ICommand)
Declaration
public bool RemoveCommand(ICommand command)
Parameters
|
ICommand
command
|
Returns
|
System.Boolean
|