I am trying to use Org structure but the problem is if you have a number of nodes then is it is expanding horizontally. Can we show 5-6 nodes in one line? and rest node in the next line.
I have one more question. Can we bind data in XAML itself instead of code behind.?
S. No |
Query |
Answer |
1. |
Number of nodes then is it is expanding horizontally. Can we show 5-6 nodes in one line |
The mentioned support “Org chart layout in Vertical orientation” is feasible in SfDiagram. The mentioned support can be achieved by assigning TreeOrientation property as LeftToRight or RightToLeft option. We have prepared a sample based on the mentioned requirement which can be downloaded from the below link.
Sample link: Sample
|
2. |
Can we bind data in XAML itself instead of code behind |
Yes, the mentioned support “Layout using XAML” is feasible in SfDiagram. The above provided sample demonstrates the mentioned support. Please refer the below mentioned UG documentation for more information.
UG link: Layout using XAML
|