For those who will run into this, it looks like the scope button
functionality does not exist and direct access to the UISearchBar was not
exposed. I simply added a public property to DialogController and now I can
add my scope buttons.
Added to DialogViewController:
public UISearchBar SearchBar
{
get { return this.searchBar; }
}
Added to my class:
public override void LoadView ()
{
this.EnableSearch = true;
base.LoadView ();
string[] buttons = new string[] { "All", "Subject",
"Advanced"};
this.SearchBar.ScopeButtonTitles = buttons;
this.SearchBar.ShowsScopeBar = true;
this.SearchBar.SizeToFit();
}
--
View this message in context:
http://monotouch.2284126.n4.nabble.com/Monotouch-DialogViewController-and-Scope-Buttons-tp3647293p3648581.html
Sent from the MonoTouch mailing list archive at Nabble.com.
_______________________________________________
MonoTouch mailing list
[email protected]
http://lists.ximian.com/mailman/listinfo/monotouch