c# - Xamarin xaml display string array with seperators -
i looking print array of strings separator between each string example code block
string[] array; string[] assignment = {"world","testing","array","hello"}; for(int =0 ; i>assignment.length; i++) { array[i] = assignment[i]; }
xaml
<controls:tappablecustomfontlabel x:name="array" text="{binding array}" xalign="start" lineheight="2.1"/>
xaml.cs
array.fillx();
i want display each string in array on separate label, followed seperator i.e world
testing
array
hello
Comments
Post a Comment