Class DiagramLayoutEventArgs
The event argument supplied when the diagram layout event is raised.
Inheritance
Namespace: Telerik.Windows.Diagrams.Core
Assembly: Telerik.Windows.Diagrams.Core.dll
Syntax
public class DiagramLayoutEventArgs : EventArgs
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
LayoutType
type
The layout type to apply. |
System.Object
settings
The settings specific to the layout type. |
DiagramLayoutState
oldState
The old positions of the shapes. |
DiagramLayoutState
newState
The new positions of the shapes. |
See Also
Properties
LayoutSettings
Gets the layout settings specific to the applied layout type.
Declaration
public object LayoutSettings { get; }
Property Value
System.Object
|
See Also
LayoutType
Gets the type of the layout algorithm that has been applied.
Declaration
public LayoutType LayoutType { get; }
Property Value
LayoutType
|
NewState
Gets state and the positions of shapes after the layout was applied.
Declaration
public DiagramLayoutState NewState { get; }
Property Value
DiagramLayoutState
|
OldState
Gets state and the positions of shapes before the layout was applied.
Declaration
public DiagramLayoutState OldState { get; }
Property Value
DiagramLayoutState
|