Class DelegateCommand
Inheritance
System.Object
DelegateCommand
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.WinForms.Controls.Spreadsheet.Dialogs
Assembly: Telerik.WinControls.RadSpreadsheet.dll
Syntax
public class DelegateCommand : ICommand
Constructors
DelegateCommand(Action<Object>)
Declaration
public DelegateCommand(Action<object> execute)
Parameters
System.Action<System.Object>
execute
|
DelegateCommand(Action<Object>, Predicate<Object>)
Declaration
public DelegateCommand(Action<object> execute, Predicate<object> canExecute)
Parameters
System.Action<System.Object>
execute
|
System.Predicate<System.Object>
canExecute
|
Methods
CanExecute(Object)
Declaration
public virtual bool CanExecute(object parameter)
Parameters
System.Object
parameter
|
Returns
System.Boolean
|
Execute(Object)
Declaration
public virtual void Execute(object parameter)
Parameters
System.Object
parameter
|
InvalidateCanExecute()
Raises the CanExecuteChanged event.
Declaration
public void InvalidateCanExecute()
Events
CanExecuteChanged
Occurs when changes occur that affect whether the command should execute.
Declaration
public event EventHandler CanExecuteChanged
Event Type
System.EventHandler
|