iOS Guides | Samples

MonoTouch.UIKit.UISearchBarDelegate Class

A class used to receive notifications from a UISearchBar.

See Also: UISearchBarDelegate

Syntax

[MonoTouch.Foundation.Model]
[MonoTouch.Foundation.Protocol]
[MonoTouch.Foundation.Register("UISearchBarDelegate", false)]
public class UISearchBarDelegate : UIBarPositioningDelegate, IUISearchBarDelegate, IDisposable

Related content

Requirements

Namespace: MonoTouch.UIKit
Assembly: monotouch (in monotouch.dll)
Assembly Versions: 0.0.0.0

The members of MonoTouch.UIKit.UISearchBarDelegate are listed below.

See Also: UIBarPositioningDelegate

Public Constructors

Default constructor that initializes a new instance of this class with no parameters.
A constructor that initializes the object from the data stored in the unarchiver object.
Constructor to call on derived classes to skip initialization and merely allocate the object.
A constructor used when creating managed representations of unmanaged objects; Called by the runtime.

Public Methods

BookmarkButtonClicked(UISearchBar)
Indicates that the bookmark button was clicked.
CancelButtonClicked(UISearchBar)
Indicates that the cancel button was clicked.
override
GetPositionForBar(IUIBarPositioning) : UIBarPosition
The position of the specified UIBarPositioning.
ListButtonClicked(UISearchBar)
Indicates that the search results list button was clicked.
OnEditingStarted(UISearchBar)
Indicates that the app user has begin editing the search text.
OnEditingStopped(UISearchBar)
Indicates that the user has finished editing the search text.
SearchButtonClicked(UISearchBar)
Indicates that the search button was clicked.
SelectedScopeButtonIndexChanged(UISearchBar, Int32)
Indicates that the scope button selection has changed.
ShouldBeginEditing(UISearchBar) : Boolean
Whether editing should begin in the specified search bar.
ShouldChangeTextInRange(UISearchBar, NSRange, String) : Boolean
Whether text in a specified range should be replaced with the given text.
ShouldEndEditing(UISearchBar) : Boolean
Whether editing should stop in the specified search bar.
TextChanged(UISearchBar, String)
Indicates that the user changed the search text.