SubgraphPreferredLayout Event

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

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

Gets the diagram node associated with this graph node object.  
Gets or sets a value indicating whether GraphNodes will be resized during the layout operation.  
Gets or sets sub graph orientation.  
Gets or sets the preferred sub graph size. If no values are specified the default size will be used.  
Handling the SubgraphPreferredLayout event provides users with the ability to specify a distinct orientation and bounds for the sub nodes.

Syncfusion.Diagram.Base: 18.2460.0.44

See Also