Skip to main content
A newer version of this page is available. .

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.v20.2.dll

NuGet Packages: DevExpress.WindowsDesktop.Wpf.Diagram, 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