Class RotateCommandBase
Represents rotate command base.
Inherited Members
Namespace: Telerik.Windows.Documents.Commands
Assembly: Telerik.Windows.Controls.FixedDocumentViewers.dll
Syntax
public abstract class RotateCommandBase : FixedDocumentViewerCommandBase, ICommand
Constructors
RotateCommandBase(FixedDocumentViewerBase)
Initializes a new instance of the RotateCommandBase class.
Declaration
public RotateCommandBase(FixedDocumentViewerBase viewer)
Parameters
FixedDocumentViewerBase
viewer
The viewer. |
Methods
CanExecuteOverride(Object)
Determines whether the command can be executed.
Declaration
public override bool CanExecuteOverride(object parameter)
Parameters
System.Object
parameter
The parameter. |
Returns
System.Boolean
Returns if the command can be executed. |
Overrides
GetRotatedAngle(RotationAngle)
Gets the rotated angle.
Declaration
protected RotationAngle GetRotatedAngle(RotationAngle angle)
Parameters
RotationAngle
angle
The angle. |
Returns
RotationAngle
|
RegisterRotation(RotationAngle, RotationAngle)
Registers the rotation.
Declaration
protected void RegisterRotation(RotationAngle initialAngle, RotationAngle rotatedAngle)
Parameters
RotationAngle
initialAngle
The initial angle. |
RotationAngle
rotatedAngle
The rotated angle. |
SetRotationAngle(RotationAngle)
Sets the rotation angle.
Declaration
protected void SetRotationAngle(RotationAngle angle)
Parameters
RotationAngle
angle
The angle. |