Class
DiagramLayoutEventArgs

The event argument supplied when the diagram layout event is raised.

Definition

Namespace:Telerik.Windows.Diagrams.Core

Assembly:Telerik.Windows.Diagrams.Core.dll

Syntax:

cs-api-definition
public class DiagramLayoutEventArgs : EventArgs

Inheritance: objectEventArgsDiagramLayoutEventArgs

Inherited Members EventArgs.Empty

Constructors

DiagramLayoutEventArgs(LayoutType, object, DiagramLayoutState, DiagramLayoutState)

Initializes a new instance of the DiagramLayoutEventArgs class.

Declaration

cs-api-definition
public DiagramLayoutEventArgs(LayoutType type, object settings, DiagramLayoutState oldState, DiagramLayoutState newState)

Parameters

type

LayoutType

The layout type to apply.

settings

object

The settings specific to the layout type.

oldState

DiagramLayoutState

The old positions of the shapes.

newState

DiagramLayoutState

The new positions of the shapes.

Properties

LayoutSettings

Gets the layout settings specific to the applied layout type.

Declaration

cs-api-definition
public object LayoutSettings { get; }

Property Value

object

LayoutType

Gets the type of the layout algorithm that has been applied.

Declaration

cs-api-definition
public LayoutType LayoutType { get; }

Property Value

LayoutType

NewState

Gets state and the positions of shapes after the layout was applied.

Declaration

cs-api-definition
public DiagramLayoutState NewState { get; }

Property Value

DiagramLayoutState

OldState

Gets state and the positions of shapes before the layout was applied.

Declaration

cs-api-definition
public DiagramLayoutState OldState { get; }

Property Value

DiagramLayoutState