ClassImageEditorCommandBase
Definition
Namespace:Telerik.Windows.Media.Imaging.ImageEditorCommands
Assembly:Telerik.Windows.Controls.ImageEditor.dll
Syntax:
public abstract class ImageEditorCommandBase : ICommand
Inheritance: objectImageEditorCommandBase
Derived Classes:
Implements:
Constructors
ImageEditorCommandBase(RadImageEditor)
Declaration
public ImageEditorCommandBase(RadImageEditor owner)
Parameters
owner
Properties
CanExecuteInReadOnlyMode
Gets a value indicating whether this command can be executed when RadImageEditor is read-only. The default implementation returns false.
Declaration
protected virtual bool CanExecuteInReadOnlyMode { get; }
Property Value
true if this command preserves the image; otherwise, false.
CanExecuteWithoutImage
Gets a value indicating whether this command can be executed when RadImageEditor doesn't have a lodaded image. The default implementation returns false.
Declaration
protected virtual bool CanExecuteWithoutImage { get; }
Property Value
true if this command requires an image be loaded; otherwise, false.
Methods
Execute(object)
Declaration
public void Execute(object parameter)
Parameters
parameter
Implements
ExecuteOverride(object)
Declaration
protected abstract void ExecuteOverride(object parameter)
Parameters
parameter
OnCanExecuteChanged()
Declaration
protected void OnCanExecuteChanged()
Events
CanExecuteChanged
Declaration
public event EventHandler CanExecuteChanged
Event Value
Implements