New to Telerik UI for WinFormsStart a free 30-day trial

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

Definition

Namespace:Telerik.WinControls.UI.Diagrams

Assembly:Telerik.WinControls.RadDiagram.dll

Syntax:

C#
public sealed class DiagramLayoutRoutedEventArgs : RoutedEventArgs

Inheritance: objectEventArgsRoutedEventArgsDiagramLayoutRoutedEventArgs

Inherited Members RoutedEventArgs.HandledRoutedEventArgs.OriginalSourceRoutedEventArgs.RoutedEventRoutedEventArgs.SourceEventArgs.Empty

Constructors

Initializes a new instance of the DiagramLayoutRoutedEventArgs class.

C#
public DiagramLayoutRoutedEventArgs(DiagramLayoutEventArgs args)
Parameters:argsDiagramLayoutEventArgs

The DiagramLayoutEventArgs instance containing the event data.

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; }