New to Telerik UI for WinFormsStart a free 30-day trial

The service supporting the rotation of diagram items.

Definition

Namespace:Telerik.Windows.Diagrams.Core

Assembly:Telerik.WinControls.RadDiagram.dll

Syntax:

C#
public interface IRotationService

Derived Classes: RotationService

Properties

Gets a value indicating whether this instance is rotating.

C#
bool IsRotating { get; }
Property Value:

True if this instance is rotating; otherwise, false.

Methods

Completes the rotation.

C#
void CompleteRotate(Point mousePoint)
Parameters:mousePointPoint

The mouse point.

Initializes the rotate action.

C#
void InitializeRotate(IEnumerable<IDiagramItem> newSelectedItems, double adornerAngle, Rect bounds)
Parameters:newSelectedItemsIEnumerable<IDiagramItem>

The selected items.

adornerAngledouble

The adorner angle.

boundsRect

The adorner bounds.

Rotates the items to the specified mouse position.

C#
void Rotate(Point mousePosition)
Parameters:mousePositionPoint

The mouse position.

Starts the rotation.

C#
bool StartRotate(Point currentPoint)
Parameters:currentPointPoint

The current point.

Returns:

bool

Events

Occurs on complete rotating.

C#
event EventHandler<RotatingEventArgs> CompleteRotating

Occurs when rotating.

C#
event EventHandler<RotatingEventArgs> Rotating

Occurs on start rotating.

C#
event EventHandler<CancelingManipulationEventArgs> StartRotating