syncfusion / xamarin-demos

This repository contains the Syncfusion Xamarin UI control’s samples and the guide to use them.
https://www.syncfusion.com/xamarin-ui-controls?utm_source=github&utm_medium=listing
322 stars 203 forks source link

How to show organization chart in vertical Layout.? #17

Open mosinms7711 opened 4 years ago

mosinms7711 commented 4 years ago

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.?

Devaraj-Sekar commented 4 years ago

Hi mosinms7711,

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 assinging 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.

Note: I work for Syncfusion.

Regards, Devaraj S