Class CommandComponentBase
Inheritance
Namespace: Telerik.WinControls.Commands
Assembly: Telerik.WinControls.dll
Syntax
[ComVisible(false)]
public class CommandComponentBase : Component, ICommand, ICommandPresentation, IImageListProvider
  Constructors
CommandComponentBase()
Declaration
public CommandComponentBase()
  CommandComponentBase(IContainer)
Declaration
public CommandComponentBase(IContainer container)
  Parameters
| 
        System.ComponentModel.IContainer
        container
         
  | 
    
Properties
ContextType
Declaration
public Type ContextType { get; set; }
  Property Value
| 
        System.Type
         
  | 
    
Implements
ImageList
Declaration
public ImageList ImageList { get; set; }
  Property Value
| 
        System.Windows.Forms.ImageList
         
  | 
    
Implements
Name
Text
Declaration
public string Text { get; set; }
  Property Value
| 
        System.String
         
  | 
    
Implements
Type
Methods
CanExecute(Object)
Declaration
public bool CanExecute(object parameter)
  Parameters
| 
        System.Object
        parameter
         
  | 
    
Returns
| 
        System.Boolean
         
  | 
    
Implements
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.  | 
    
Execute()
Execute(Object, Object)
Declaration
public void Execute(object parameter, object target)
  Parameters
| 
        System.Object
        parameter
         
  | 
    
| 
        System.Object
        target
         
  | 
    
Execute(Object, Object[])
Declaration
public virtual object Execute(object target, params object[] settings)
  Parameters
| 
        System.Object
        target
         
  | 
    
| 
        System.Object[]
        settings
         
  | 
    
Returns
| 
        System.Object
         
  | 
    
Execute(Object[])
Declaration
public virtual object Execute(params object[] settings)
  Parameters
| 
        System.Object[]
        settings
         
  | 
    
Returns
| 
        System.Object
         
  | 
    
Implements
GetImageAt(Int32)
Declaration
public Image GetImageAt(int index)
  Parameters
| 
        System.Int32
        index
         
  | 
    
Returns
| 
        System.Drawing.Image
         
  | 
    
GetImageAt(String)
Declaration
public Image GetImageAt(string index)
  Parameters
| 
        System.String
        index
         
  | 
    
Returns
| 
        System.Drawing.Image
         
  | 
    
OnCanExecuteChanged()
Declaration
protected virtual void OnCanExecuteChanged()
  Events
CanExecuteChanged
Declaration
public event EventHandler CanExecuteChanged
  Event Type
| 
        System.EventHandler
         
  | 
    
Implements
Executed
HandleExecute
Represents the method that will handle HandleExecute, and Execucted events.
Declaration
public event CommandEventHandler HandleExecute
  Event Type
| 
        CommandEventHandler
         
  |