The members of UIKit.UISearchBar are listed below.
See Also: Inherited members from UIKit.UIView
| Default constructor that initializes a new instance of this class with no parameters. | ||
| Initializes the UISearchBar with the specified frame. | ||
| 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. |
| [read-only] static | Appearance | UISearchBar.UISearchBarAppearance. Strongly-typed property that returns the UIAppearance class for this class. |
| AutocapitalizationType | UITextAutocapitalizationType. The autocapitalization style used on the text. | |
| AutocorrectionType | UITextAutocorrectionType. The autocorrection style used on the text. | |
| BackgroundImage | UIImage. The UIImage shown in the background of the search bar. | |
| [read-only] | BarPosition | UIBarPosition. Gets the UIKit.UIBarPosition of this UIKit.UISearchBar view. |
| BarStyle | UIBarStyle. The appearance of this UISearchBar. | |
| BarTintColor | UIColor. The tint applied to the background of this UISearchBar. | |
| [read-only] override | ClassHandle | IntPtr. The handle for this class. |
| Delegate | IUISearchBarDelegate. An instance of the UIKit.UISearchBarDelegate model class which acts as the class delegate. | |
| EnablesReturnKeyAutomatically | bool. Gets or sets whether to enable the return key when a user enters text. | |
| InputAccessoryView | UIView. The custom input accessory for the keyboard of this UISearchBar. | |
| KeyboardAppearance | UIKeyboardAppearance. Gets or sets the appearance of the keyboard that is associated with this UIKit.UISearchBar bar, as a UIKit.UIKeyboardAppearance object. | |
| KeyboardType | UIKeyboardType. The keyboard style used for the text. | |
| Placeholder | string. A string that is displayed when there is no other text in the text field. | |
| Prompt | string. A line of text displayed at the top of this UISearchBar. | |
| ReturnKeyType | UIReturnKeyType. Gets or sets the UIKit.UIReturnKeyType value for the return key that is associated with this UIKit.UISearchBar bar. | |
| ScopeBarBackgroundImage | UIImage. The UIImage used for the background of the scope bar. | |
| ScopeButtonTitles | string[]. The titles of the scope buttons. | |
| SearchBarStyle | UISearchBarStyle. The style used for this UISearchBar's appearance. | |
| SearchFieldBackgroundPositionAdjustment | UIOffset. The offset of the search text field background in this UISearchBar. | |
| SearchResultsButtonSelected | bool. Whether the search results button is selected. | |
| SearchTextPositionAdjustment | UIOffset. The offset of the text in the search text field background. | |
| SecureTextEntry | bool. Gets or sets whether this UIKit.UISearchBar bar hides the text that a user enters. | |
| SelectedScopeButtonIndex | nint. The index of the selected scope button. | |
| ShouldBeginEditing | UISearchBarPredicate. Delegate invoked by the object to get a value. | |
| ShouldChangeTextInRange | UISearchBarRangeEventArgs. Delegate invoked by the object to get a value. | |
| ShouldEndEditing | UISearchBarPredicate. Delegate invoked by the object to get a value. | |
| ShowsBookmarkButton | bool. Whether the bookmark button is displayed. | |
| ShowsCancelButton | bool. Whether the cancel button is displayed. | |
| ShowsScopeBar | bool. Whether the scope bar is displayed. | |
| ShowsSearchResultsButton | bool. Whether the search results button is displayed. | |
| SpellCheckingType | UITextSpellCheckingType. The UIKit.UITextSpellCheckingType used on this UIKit.UISearchBar. | |
| Text | string. The current or starting search text. | |
| Translucent | bool. True if the search bar is translucent. | |
| WeakDelegate | Foundation.NSObject. An object that can respond to the delegate protocol for this type |
static | AppearanceWhenContainedIn(params Type[])Returns a strongly typed UIAppearance for instances of this class when the view is hosted in the specified hierarchy. | |
BackgroundImageForBarPosition(UIBarPosition, UIBarMetrics)The UIImage used for the background for the specified position and metrics. | ||
static | GetAppearance<T>()The strongly-typed IUIAppearance for this object. | |
static | GetAppearance<T>(UITraitCollection)Documentation for this section has not yet been entered. | |
static | GetAppearance<T>(UITraitCollection, params Type[])Documentation for this section has not yet been entered. | |
GetImageForSearchBarIcon(UISearchBarIcon, UIControlState)The UIImage used for the specified search bar icon type and control state. | ||
GetPositionAdjustmentForSearchBarIcon(UISearchBarIcon)The position adjustment for the specified icon. | ||
GetScopeBarButtonBackgroundImage(UIControlState)The UIImage used for the background for the specified scope bar button and state. | ||
GetScopeBarButtonDividerImage(UIControlState, UIControlState)The UIImage used for the divider for the specified combination of left and right segment states. | ||
GetScopeBarButtonTitleTextAttributes(UIControlState)The text attributes of the scope bar button's title for the specified UIControlState. | ||
GetSearchFieldBackgroundImage(UIControlState)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. | ||
| BookmarkButtonClicked | Event raised by the object. | |
| CancelButtonClicked | Event raised by the object. | |
| ListButtonClicked | Event raised by the object. | |
| OnEditingStarted | Event raised by the object. | |
| OnEditingStopped | Event raised by the object. | |
| SearchButtonClicked | Event raised by the object. | |
| SelectedScopeButtonIndexChanged | Event raised by the object. | |
| TextChanged | Event raised by the object. |