Class LayoutManager
Represents a class which manages the node and connector arrangement.
Inheritance
System.Object
LayoutManager
Namespace: Syncfusion.UI.Xaml.Diagram.Layout
Assembly: Syncfusion.SfDiagram.UWP.dll
Syntax
public class LayoutManager : Object
Examples
Below code shows how to create DirectedTreeLayout using LayoutManager
public class Employee
{
public string Name { get; set; }
public string EmpId { get; set; }
public string ParentId { get; set; }
public string Designation { get; set; }
}
public class Employees : ObservableCollection<Employee>
{
}
Constructors
LayoutManager()
Declaration
public LayoutManager()
Properties
Layout
Gets or sets the type of layout either directed tree or radial tree.
Declaration
public LayoutBase Layout { get; set; }
Property Value
Type |
---|
LayoutBase |
RefreshFrequency
Gets or sets the value when to update the current layout.
Declaration
public RefreshFrequency RefreshFrequency { get; set; }
Property Value
Type |
---|
RefreshFrequency |
Methods
OnLayoutChanged(LayoutBase, LayoutBase)
Method to set the graph value when layoutbase value gets changed.
Declaration
protected virtual void OnLayoutChanged(LayoutBase oldValue, LayoutBase newValue)
Parameters
Type | Name | Description |
---|---|---|
LayoutBase | oldValue | |
LayoutBase | newValue |