Interface IResizingService
The service supporting the scaling of diagram items and groups.
Namespace: Telerik.Windows.Diagrams.Core
Assembly: Telerik.Windows.Diagrams.Core.dll
Syntax
public interface IResizingService
Remarks
Note that this service can be customized and plugged into the ServiceLocator.
Properties
IsResizing
Gets a value indicating whether this instance is resizing.
Declaration
bool IsResizing { get; }
Property Value
System.Boolean
|
Methods
CompleteResize(Rect, Point)
Completes the resize.
Declaration
void CompleteResize(Rect finalBounds, Point mousePosition)
Parameters
System.Windows.Rect
finalBounds
The final bounds. |
System.Windows.Point
mousePosition
The final mouse position. |
InitializeResize(IEnumerable<IDiagramItem>, Double, Rect, ResizeDirection, Point)
Initializes the resize action.
Declaration
void InitializeResize(IEnumerable<IDiagramItem> newSelectedItems, double adornerAngle, Rect adornerBounds, ResizeDirection resizingDirection, Point startPoint)
Parameters
System.Collections.Generic.IEnumerable<IDiagramItem>
newSelectedItems
The selected items. |
System.Double
adornerAngle
The adorner angle. |
System.Windows.Rect
adornerBounds
The adorner bounds. |
ResizeDirection
resizingDirection
The resizing direction. |
System.Windows.Point
startPoint
The start point. |
Resize(Point)
Resizes to the new point.
Declaration
void Resize(Point newPoint)
Parameters
System.Windows.Point
newPoint
The new point. |
StartResize(Point)
Starts the resize.
Declaration
bool StartResize(Point currentPoint)
Parameters
System.Windows.Point
currentPoint
The current point. |
Returns
System.Boolean
|
Events
CompleteResizing
Occurs on resizing completed.
Declaration
event EventHandler<ResizingEventArgs> CompleteResizing
Event Type
System.EventHandler<ResizingEventArgs>
|
Resizing
Occurs when resizing.
Declaration
event EventHandler<ResizingEventArgs> Resizing
Event Type
System.EventHandler<ResizingEventArgs>
|
StartResizing
Occurs on resizing start.
Declaration
event EventHandler<CancelingManipulationEventArgs> StartResizing
Event Type
System.EventHandler<CancelingManipulationEventArgs>
|