iOS Guides | Samples

MonoTouch.UIKit.UISearchDisplayController Class

A controller that manages a search bar and an associated results table view.

See Also: UISearchDisplayController

Syntax

[MonoTouch.Foundation.Register("UISearchDisplayController", true)]
[MonoTouch.ObjCRuntime.Deprecated(MonoTouch.ObjCRuntime.PlatformName.iOS, 8, 0, MonoTouch.ObjCRuntime.PlatformArchitecture.None, "Use 'UISearchController'.")]
[MonoTouch.ObjCRuntime.Unavailable(MonoTouch.ObjCRuntime.PlatformName.TvOS, MonoTouch.ObjCRuntime.PlatformArchitecture.All, null)]
public class UISearchDisplayController : NSObject

Related content

Requirements

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

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

See Also: NSObject

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 Properties

ActiveBoolean. Whether the search interface is visible.
[read-only]
override
ClassHandleIntPtr. The handle for this class.
DelegateUISearchDisplayDelegate. An instance of the MonoTouch.UIKit.UISearchDisplayDelegate model class which acts as the class delegate.
DisplaysSearchBarInNavigationBarBoolean. Whether the navigation bar contains a search bar.
[read-only]
NavigationItemUINavigationItem. Represents the UISearchDisplayController in a UINavigationController's nav bar. Read-only.
[read-only]
SearchBarUISearchBar. The search bar. Read-only.
[read-only]
SearchContentsControllerUIViewController. The UIViewController that managed the contents being searched. Read-only.
SearchResultsDataSourceUITableViewDataSource. The UITableViewDataSource holding the search results.
SearchResultsDelegateUITableViewDelegate. The delegate object for events relating to the search results table view.
SearchResultsSourceUITableViewSource. The UITableViewSource holding the search results.
[read-only]
SearchResultsTableViewUITableView. The UITableView in which the search results are displayed. Read-only.
SearchResultsTitleString. The title for the search results view.
SearchResultsWeakDataSourceNSObject. The data source for the UITableView in which the search results are displayed.
SearchResultsWeakDelegateNSObject. The delegate for the UITableView in which the search results are displayed.
WeakDelegateNSObject. An object that can respond to the delegate protocol for this type

Public Methods

SetActive(Boolean, Boolean)
Displays or hides the search interface, optionally animating the display.

Protected Methods

override
Dispose(Boolean)
Releases the resources used by the UISearchDisplayController object.