see "scope bar" section - the buttons underneath a search box that let you
"scope" a search.  ie, look at the search in mail, with buttons for "from |
to | subject | all"

http://developer.apple.com/library/ios/#DOCUMENTATION/UserExperience/Conceptual/MobileHIG/UIElementGuidelines/UIElementGuidelines.html

On Wed, Jul 6, 2011 at 10:20 AM, Miguel de Icaza <[email protected]> wrote:

> Hey,
>
>    What are Scope BUttons?
>
> Miguel
>
>
> On Wed, Jul 6, 2011 at 8:11 AM, vbisbest <[email protected]> wrote:
>
>> 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
>>
>
>
> _______________________________________________
> MonoTouch mailing list
> [email protected]
> http://lists.ximian.com/mailman/listinfo/monotouch
>
>
_______________________________________________
MonoTouch mailing list
[email protected]
http://lists.ximian.com/mailman/listinfo/monotouch

Reply via email to