Class CommandListComponent
Inheritance
System.Object
CommandListComponent
Namespace: Telerik.WinControls.Commands
Assembly: Telerik.WinControls.dll
Syntax
[ComVisible(false)]
public class CommandListComponent : Component, ICommandSource, IEnumerable
Constructors
CommandListComponent()
Declaration
public CommandListComponent()
CommandListComponent(IContainer)
Declaration
public CommandListComponent(IContainer container)
Parameters
System.ComponentModel.IContainer
container
|
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
|
Dispose(Boolean)
Clean up any resources being used.
Declaration
protected override void Dispose(bool disposing)
Parameters
System.Boolean
disposing
true if managed resources should be disposed; otherwise, false. |
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
|