Quantcast
Channel: Xamarin.Forms — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 58056

Scrolling of Tableview

$
0
0

Hi,

I am using a table view to show my data. My data is large enough to fit in screen from both side. so i need scrolling of both side ie Horizontal and vertical.
I am new to xamarin ios development. i had tried uiscrollview as well. here is my code.
`
UIScrollView sc = new UIScrollView ();
UITableView tv = new UITableView ();
sc.Frame = new System.Drawing.RectangleF (0, 0, View.Frame.Width, View.Frame.Height);
sc.ContentSize = new System.Drawing.SizeF (850, View.Frame.Height);
tv.Frame = new RectangleF (0, 0, 850, View.Frame.Height + 60);
tv.Source = new NiryanAdapter (ButtonInfo);
sc.Add(tv);
View.AddSubview (sc);

`
please help me


Viewing all articles
Browse latest Browse all 58056

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>