ClassDiagramLayoutEventArgs
The event argument supplied when the diagram layout event is raised.
Definition
Namespace:Telerik.Windows.Diagrams.Core
Assembly:Telerik.Windows.Diagrams.Core.dll
Syntax:
public class DiagramLayoutEventArgs : EventArgs
Inheritance: objectEventArgsDiagramLayoutEventArgs
Inherited Members
Constructors
DiagramLayoutEventArgs(LayoutType, object, DiagramLayoutState, DiagramLayoutState)
Initializes a new instance of the DiagramLayoutEventArgs class.
Declaration
public DiagramLayoutEventArgs(LayoutType type, object settings, DiagramLayoutState oldState, DiagramLayoutState newState)
Parameters
type
The layout type to apply.
settings
The settings specific to the layout type.
oldState
The old positions of the shapes.
newState
The new positions of the shapes.
Properties
LayoutSettings
Gets the layout settings specific to the applied layout type.
LayoutType
Gets the type of the layout algorithm that has been applied.
NewState
Gets state and the positions of shapes after the layout was applied.
Declaration
public DiagramLayoutState NewState { get; }
Property Value
OldState
Gets state and the positions of shapes before the layout was applied.
Declaration
public DiagramLayoutState OldState { get; }
Property Value