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