Got the solution myself.

posting it on here. It might help somebody else.

Here is the code-->

public UIImage tblBackground;  <--- a class level variable

tblBackground=UIImage.FromFile ("BackGround.png");
var clr=UIColor.FromPatternImage (tblBackground);
tblFacility.BackgroundView=new UIView(ParentViewController.View.Frame)
{
        BackgroundColor=clr
};
tblFacility.SizeToFit ();

That's it.
Cheers.




--
View this message in context: 
http://monotouch.2284126.n4.nabble.com/Setting-a-Transparent-Image-as-background-on-a-UITableView-tp4656194p4656202.html
Sent from the MonoTouch mailing list archive at Nabble.com.
_______________________________________________
MonoTouch mailing list
[email protected]
http://lists.ximian.com/mailman/listinfo/monotouch

Reply via email to