Skip to main content

DiagramBeforeItemsRotatingEventArgs(DiagramControl, IList<DiagramItem>, ItemsActionSource, Nullable<Point>) Constructor

Initializes a new instance of the DiagramBeforeItemsRotatingEventArgs class with specified settings.

Namespace: DevExpress.Xpf.Diagram

Assembly: DevExpress.Xpf.Diagram.v24.1.dll

NuGet Package: DevExpress.Wpf.Diagram

Declaration

public DiagramBeforeItemsRotatingEventArgs(
    DiagramControl source,
    IList<DiagramItem> items,
    ItemsActionSource actionSource,
    Point? centerOfRotation
)

Parameters

Name Type Description
source DiagramControl

The DiagramControl that raised the event.

items IList<DiagramItem>

A collection of diagram items that are being rotated.

actionSource ItemsActionSource

A DevExpress.Diagram.Core.ItemsActionSource enumeration value that indicates whether the rotating operation is performed using the rotation handle or the Properties Panel.

centerOfRotation Nullable<Point>

A System.Windows.Point value that is the coordinates of the center of rotation.

See Also