Wednesday 15 January 2014

iphone - MonoTouch.Dialog Removing Lines at end of table -


I have a table in the screenshot below, but only a few elements are there when I do not have enough stylestring element to fill the screen Mono Touch to not draw extra lines in the lower part of How do I tell a dialogue?

Enter image details here

< Div class = "post-text" itemprop = "text">

I think that can be done in two ways:

  1. You UITableView.SeparatorStyle to UITableViewCellSeparatorStyle.None . However you will lose all the separators (between all the rooms, not just below). OTOH If you want to make your own custom separator, it can be a good thing.

  2. You set an empty footer view on your UITableView , something like this:

    tv.TableFooterView = New UIView ();

    You may want to choose your own color (or clear) and not the default.

No comments:

Post a Comment