Interface
IResizingService

The service supporting the scaling of diagram items and groups.

Definition

Namespace:Telerik.Windows.Diagrams.Core

Assembly:Telerik.Windows.Diagrams.Core.dll

Syntax:

cs-api-definition
public interface IResizingService

Properties

IsResizing

Gets a value indicating whether this instance is resizing.

Declaration

cs-api-definition
bool IsResizing { get; }

Property Value

bool

True if this instance is resizing; otherwise, false.

Methods

CompleteResize(Rect, Point)

Completes the resize.

Declaration

cs-api-definition
void CompleteResize(Rect finalBounds, Point mousePosition)

Parameters

finalBounds

Rect

The final bounds.

mousePosition

Point

The final mouse position.

InitializeResize(IEnumerable<IDiagramItem>, double, Rect, ResizeDirection, Point)

Initializes the resize action.

Declaration

cs-api-definition
void InitializeResize(IEnumerable<IDiagramItem> newSelectedItems, double adornerAngle, Rect adornerBounds, ResizeDirection resizingDirection, Point startPoint)

Parameters

newSelectedItems

IEnumerable<IDiagramItem>

The selected items.

adornerAngle

double

The adorner angle.

adornerBounds

Rect

The adorner bounds.

resizingDirection

ResizeDirection

The resizing direction.

startPoint

Point

The start point.

Resize(Point)

Resizes to the new point.

Declaration

cs-api-definition
void Resize(Point newPoint)

Parameters

newPoint

Point

The new point.

StartResize(Point)

Starts the resize.

Declaration

cs-api-definition
bool StartResize(Point currentPoint)

Parameters

currentPoint

Point

The current point.

Returns

bool

Events

CompleteResizing

Occurs on resizing completed.

Declaration

cs-api-definition
event EventHandler<ResizingEventArgs> CompleteResizing

Event Value

EventHandler<ResizingEventArgs>

Resizing

Occurs when resizing.

Declaration

cs-api-definition
event EventHandler<ResizingEventArgs> Resizing

Event Value

EventHandler<ResizingEventArgs>

StartResizing

Occurs on resizing start.

Declaration

cs-api-definition
event EventHandler<CancelingManipulationEventArgs> StartResizing

Event Value

EventHandler<CancelingManipulationEventArgs>