ClassFixedDocumentViewerCommandBase
Represents the base FixedDocumentViewer command.
Definition
Namespace:Telerik.Windows.Documents.Commands
Assembly:Telerik.Windows.Controls.FixedDocumentViewers.dll
Syntax:
public abstract class FixedDocumentViewerCommandBase : ICommand
Inheritance: objectFixedDocumentViewerCommandBase
Derived Classes:
Implements:
Constructors
FixedDocumentViewerCommandBase(FixedDocumentViewerBase)
Initializes a new instance of the FixedDocumentViewerCommandBase class.
Declaration
public FixedDocumentViewerCommandBase(FixedDocumentViewerBase fixedDocumentViewerBase)
Parameters
fixedDocumentViewerBase
The fixed document viewer base.
Properties
Viewer
Gets or sets the viewer.
Declaration
protected FixedDocumentViewerBase Viewer { get; }
Property Value
The viewer.
Methods
CanExecute(object)
Defines the method that determines whether the command can execute in its current state.
CanExecuteOverride(object)
Determines whether 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
parameter
Data used by the command. If the command does not require data to be passed, this object can be set to null.
Implements
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 Value
Implements