Class FixedDocumentViewerCommandBase
Represents the base FixedDocumentViewer command.
Inheritance
Inherited Members
Namespace: Telerik.Windows.Documents.Commands
Assembly: Telerik.Windows.Controls.FixedDocumentViewers.dll
Syntax
public abstract class FixedDocumentViewerCommandBase : ICommand
Constructors
FixedDocumentViewerCommandBase(FixedDocumentViewerBase)
Initializes a new instance of the FixedDocumentViewerCommandBase class.
Declaration
public FixedDocumentViewerCommandBase(FixedDocumentViewerBase fixedDocumentViewerBase)
Parameters
FixedDocumentViewerBase
fixedDocumentViewerBase
The fixed document viewer base. |
Properties
Viewer
Gets or sets the viewer.
Declaration
protected FixedDocumentViewerBase Viewer { get; }
Property Value
FixedDocumentViewerBase
The viewer. |
Methods
CanExecute(Object)
Defines the method that determines whether the command can execute in its current state.
Declaration
public bool CanExecute(object parameter)
Parameters
System.Object
parameter
Data used by the command. If the command does not require data to be passed, this object can be set to null. |
Returns
System.Boolean
true if this command can be executed; otherwise, false. |
CanExecuteOverride(Object)
Determines whether the command can be executed.
Declaration
public virtual bool CanExecuteOverride(object parameter)
Parameters
System.Object
parameter
The parameter. |
Returns
System.Boolean
Returns if the command can be executed. |
Execute(Object)
Defines the method to be called when the command is invoked.
Declaration
public virtual void Execute(object parameter)
Parameters
System.Object
parameter
Data used by the command. If the command does not require data to be passed, this object can be set to null. |
OnCanExecuteChanged()
Called when CanExecute is changed..
Declaration
protected void OnCanExecuteChanged()
Events
CanExecuteChanged
Occurs when changes occur that affect whether or not the command should execute.
Declaration
public event EventHandler CanExecuteChanged
Event Type
System.EventHandler
|