Class LayoutUpdatedEventArgs
Provides data for the LayoutUpdated event.
Inherited Members
Namespace: Syncfusion.Maui.Diagram
Assembly: Syncfusion.Maui.Diagram.dll
Syntax
public sealed class LayoutUpdatedEventArgs : EventArgs
Constructors
LayoutUpdatedEventArgs(LayoutUpdateTrigger, int, Rect, double)
Initializes a new instance of the LayoutUpdatedEventArgs class.
Declaration
public LayoutUpdatedEventArgs(LayoutUpdateTrigger trigger, int visibleNodeCount, Rect bounds, double layoutDurationMs)
Parameters
| Type | Name | Description |
|---|---|---|
| LayoutUpdateTrigger | trigger | |
| int | visibleNodeCount | |
| Rect | bounds | |
| double | layoutDurationMs |
Properties
Bounds
Gets the union of visible node bounds, in diagram coordinates.
Declaration
public Rect Bounds { get; }
Property Value
| Type |
|---|
| Rect |
LayoutDurationMs
Gets how long the JavaScript layout pass took, in milliseconds (animation excluded).
Declaration
public double LayoutDurationMs { get; }
Property Value
| Type |
|---|
| double |
Trigger
Gets what caused the layout pass.
Declaration
public LayoutUpdateTrigger Trigger { get; }
Property Value
| Type |
|---|
| LayoutUpdateTrigger |
VisibleNodeCount
Gets the number of nodes visible after the pass (collapsed descendants excluded).
Declaration
public int VisibleNodeCount { get; }
Property Value
| Type |
|---|
| int |