ClassRotateCommandBase
Class
Represents rotate command base.
Definition
Namespace:Telerik.Windows.Documents.Commands
Assembly:Telerik.Windows.Controls.FixedDocumentViewers.dll
Syntax:
cs-api-definition
public abstract class RotateCommandBase : FixedDocumentViewerCommandBase, ICommand
Inheritance: objectFixedDocumentViewerCommandBaseRotateCommandBase
Derived Classes:
Implements:
Inherited Members
Constructors
RotateCommandBase(FixedDocumentViewerBase)
Initializes a new instance of the RotateCommandBase class.
Declaration
cs-api-definition
public RotateCommandBase(FixedDocumentViewerBase viewer)
Parameters
viewer
The viewer.
Methods
CanExecuteOverride(object)
Determines whether the command can be executed.
GetRotatedAngle(RotationAngle)
Gets the rotated angle.
Declaration
cs-api-definition
protected RotationAngle GetRotatedAngle(RotationAngle angle)
Parameters
angle
The angle.
Returns
RegisterRotation(RotationAngle, RotationAngle)
Registers the rotation.
Declaration
cs-api-definition
protected void RegisterRotation(RotationAngle initialAngle, RotationAngle rotatedAngle)
Parameters
initialAngle
The initial angle.
rotatedAngle
The rotated angle.
SetRotationAngle(RotationAngle)
Sets the rotation angle.
Declaration
cs-api-definition
protected void SetRotationAngle(RotationAngle angle)
Parameters
angle
The angle.