I Not on my computer so sorry if i make any mistake, well just use c#
initializer
Var tblView = new UITableview()
{
Style=UITableViewStyle.Grouped
};
That should do the trick
Alex
Sent from my iPhone
El 09/02/2012, a las 08:22 a.m., MilkyJoe
<[email protected]> escribió:
> Ok... Stupid question time...
>
> I've define my UITableView in code, and I want to set its Style to Grouped.
> When I try to use the property, I'm told it's read only:
>
> tableView.Style = UITableViewStyle.Grouped;
>
> How do I set the UIViewTable's Style property at run time?
>
> --
> View this message in context:
> http://monotouch.2284126.n4.nabble.com/Setting-a-UITableView-s-Style-in-code-How-tp4373005p4373005.html
> Sent from the MonoTouch mailing list archive at Nabble.com.
> _______________________________________________
> MonoTouch mailing list
> [email protected]
> http://lists.ximian.com/mailman/listinfo/monotouch
_______________________________________________
MonoTouch mailing list
[email protected]
http://lists.ximian.com/mailman/listinfo/monotouch