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 Rotate
Declaration
public RotateCommandBase(FixedDocumentViewerBase viewer)
Parameters
Fixed The viewer. |
Methods
CanExecuteOverride(Object)
Determines whether the command can be executed.
Declaration
public override bool CanExecuteOverride(object parameter)
Parameters
System. The parameter. |
Returns
System. Returns if the command can be executed. |
Overrides
GetRotatedAngle(RotationAngle)
Gets the rotated angle.
Declaration
protected RotationAngle GetRotatedAngle(RotationAngle angle)
Parameters
Rotation The angle. |
Returns
RegisterRotation(RotationAngle, RotationAngle)
Registers the rotation.
Declaration
protected void RegisterRotation(RotationAngle initialAngle, RotationAngle rotatedAngle)
Parameters
Rotation The initial angle. |
Rotation The rotated angle. |
SetRotationAngle(RotationAngle)
Sets the rotation angle.
Declaration
protected void SetRotationAngle(RotationAngle angle)
Parameters
Rotation The angle. |