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

The service supporting the scaling of diagram items and groups.

Definition

Namespace:Telerik.Windows.Diagrams.Core

Assembly:Telerik.WinControls.RadDiagram.dll

Syntax:

C#
public interface IResizingService

Derived Classes: ResizingService

Properties

Gets a value indicating whether this instance is resizing.

C#
bool IsResizing { get; }
Property Value:

True if this instance is resizing; otherwise, false.

Methods

Completes the resize.

C#
void CompleteResize(Rect finalBounds, Point mousePosition)
Parameters:finalBoundsRect

The final bounds.

mousePositionPoint

The final mouse position.

Initializes the resize action.

C#
void InitializeResize(IEnumerable<IDiagramItem> newSelectedItems, double adornerAngle, Rect adornerBounds, ResizeDirection resizingDirection, Point startPoint)
Parameters:newSelectedItemsIEnumerable<IDiagramItem>

The selected items.

adornerAngledouble

The adorner angle.

adornerBoundsRect

The adorner bounds.

resizingDirectionResizeDirection

The resizing direction.

startPointPoint

The start point.

Resizes to the new point.

C#
void Resize(Point newPoint)
Parameters:newPointPoint

The new point.

Starts the resize.

C#
bool StartResize(Point currentPoint)
Parameters:currentPointPoint

The current point.

Returns:

bool

Events

Occurs on resizing completed.

C#
event EventHandler<ResizingEventArgs> CompleteResizing

Occurs when resizing.

C#
event EventHandler<ResizingEventArgs> Resizing

Occurs on resizing start.

C#
event EventHandler<CancelingManipulationEventArgs> StartResizing