UIKit.UISearchBar: Method Members

The methods of UIKit.UISearchBar are listed below. For a list of all members, see the UISearchBar Members list.

See Also: Inherited members from UIKit.UIView

Public Methods

static
AppearanceWhenContainedIn(params Type[]) : UISearchBar.UISearchBarAppearance
Returns a strongly typed UIAppearance for instances of this class when the view is hosted in the specified hierarchy.
BackgroundImageForBarPosition(UIBarPosition, UIBarMetrics) : UIImage
The UIImage used for the background for the specified position and metrics.
static
GetAppearance<T>() : UISearchBar.UISearchBarAppearance
The strongly-typed IUIAppearance for this object.
static
GetAppearance<T>(UITraitCollection) : UISearchBar.UISearchBarAppearance
Documentation for this section has not yet been entered.
static
GetAppearance<T>(UITraitCollection, params Type[]) : UISearchBar.UISearchBarAppearance
Documentation for this section has not yet been entered.
GetImageForSearchBarIcon(UISearchBarIcon, UIControlState) : UIImage
The UIImage used for the specified search bar icon type and control state.
GetPositionAdjustmentForSearchBarIcon(UISearchBarIcon) : UIOffset
The position adjustment for the specified icon.
GetScopeBarButtonBackgroundImage(UIControlState) : UIImage
The UIImage used for the background for the specified scope bar button and state.
GetScopeBarButtonDividerImage(UIControlState, UIControlState) : UIImage
The UIImage used for the divider for the specified combination of left and right segment states.
GetScopeBarButtonTitleTextAttributes(UIControlState) : UITextAttributes
The text attributes of the scope bar button's title for the specified UIControlState.
GetSearchFieldBackgroundImage(UIControlState) : UIImage
The UIImage used for the background of the search text field for the specified state.
SetBackgroundImage(UIImage, UIBarPosition, UIBarMetrics)
Sets the UIImage used for the background for the specified position and metrics.
SetImageforSearchBarIcon(UIImage, UISearchBarIcon, UIControlState)
Sets the icon for the specified search bar icon type and control state.
SetPositionAdjustmentforSearchBarIcon(UIOffset, UISearchBarIcon)
Sets the position adjustment for the specified icon.
SetScopeBarButtonBackgroundImage(UIImage, UIControlState)
Sets the UIImage used as the background image for the specified scope bar button and state.
SetScopeBarButtonDividerImage(UIImage, UIControlState, UIControlState)
Sets the UIImage used as the divider for the specified combination of left and right segment states.
SetScopeBarButtonTitle(UITextAttributes, UIControlState)
The title and attributes of the scope bar button for the specified UIControlState.
SetSearchFieldBackgroundImage(UIImage, UIControlState)
Sets the UIImage used as the background for the search text field for the specified state.
SetShowsCancelButton(bool, bool)
Sets the display state of the cancel button, optionally animating the change.

Protected Methods

override
Dispose(bool)
Releases the resources used by the UISearchBar object.