PreferredLayout Event

Occurs before a node graph is positioned.
<DescriptionAttribute("Occurs before a node is positioned.")>
Public Event PreferredLayout As PreferredLayoutEventHandler
Dim instance As GraphLayoutManager
Dim handler As PreferredLayoutEventHandler
AddHandler instance.PreferredLayout, handler
[Description("Occurs before a node is positioned.")]
public event PreferredLayoutEventHandler PreferredLayout
Event Data

The event handler receives an argument of type PreferredLayoutEventArgs containing data related to this event. The following PreferredLayoutEventArgs properties provide information specific to this event.

Gets a value indicating whether the graph is under layout.  
Gets or sets the preferred graph location.  
Gets or sets a value indicating whether graph nodes will be resized.  
Gets or sets the preferred graph size.  
Handling the PreferredLayout event provides users with the ability to examine the bounds used for laying out the node graph and specify a different bounds if necessary.

Syncfusion.Diagram.Base: 18.2460.0.44

See Also