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

The service supporting the adorning of diagram elements.

Definition

Namespace:Telerik.Windows.Diagrams.Core

Assembly:Telerik.WinControls.RadDiagram.dll

Syntax:

C#
public interface IAdornerService

Derived Classes: AdornerService

Properties

Gets the adorner angle.

C#
double AdornerAngle { get; }

Gets the selection bounds.

C#
Rect AdornerBounds { get; }

Gets the inflated selection bounds.

C#
Rect InflatedAdornerBounds { get; }

Return the resize handles activation radius.

C#
double ResizeActivationRadius { get; }

Return the rotate handle activation radius.

C#
double RotateActivationRadius { get; }

Methods

Returns the bottom left point of the adorner.

C#
Point BottomLeft()
Returns:

Point

Returns the bottom right point of the adorner.

C#
Point BottomRight()
Returns:

Point

Centers this instance.

C#
Point Center()
Returns:

Point

Returns the rotation point.

C#
Point RotationPoint()
Returns:

Point

Returns the top left point of the adorner.

C#
Point TopLeft()
Returns:

Point

Returns the top right point of the adorner.

C#
Point TopRight()
Returns:

Point

Updates the adorner angle.

C#
void UpdateAdornerAngle(double newAngle = NaN)
Parameters:newAngledouble

Updates the bounds positions.

C#
void UpdateAdornerBounds(Point deltaPosition, double deltaWidth = 0, double deltaHeight = 0)
Parameters:deltaPositionPoint

The delta position.

deltaWidthdouble

The delta width.

deltaHeightdouble

The delta height.

Updates the adorner bounds.

C#
void UpdateAdornerBounds(Rect newBounds)
Parameters:newBoundsRect

Updates the selected items.

C#
void UpdateSelectedItems(IEnumerable<IDiagramItem> newItems)
Parameters:newItemsIEnumerable<IDiagramItem>