UIKit.UISearchBar: Property Members

The properties 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 Properties

[read-only]
static
AppearanceUISearchBar.UISearchBarAppearance. Strongly-typed property that returns the UIAppearance class for this class.
AutocapitalizationTypeUITextAutocapitalizationType. The autocapitalization style used on the text.
AutocorrectionTypeUITextAutocorrectionType. The autocorrection style used on the text.
BackgroundImageUIImage. The UIImage shown in the background of the search bar.
[read-only]
BarPositionUIBarPosition. Gets the UIKit.UIBarPosition of this UIKit.UISearchBar view.
BarStyleUIBarStyle. The appearance of this UISearchBar.
BarTintColorUIColor. The tint applied to the background of this UISearchBar.
[read-only]
override
ClassHandleIntPtr. The handle for this class.
DelegateIUISearchBarDelegate. An instance of the UIKit.UISearchBarDelegate model class which acts as the class delegate.
EnablesReturnKeyAutomaticallybool. Gets or sets whether to enable the return key when a user enters text.
InputAccessoryViewUIView. The custom input accessory for the keyboard of this UISearchBar.
KeyboardAppearanceUIKeyboardAppearance. Gets or sets the appearance of the keyboard that is associated with this UIKit.UISearchBar bar, as a UIKit.UIKeyboardAppearance object.
KeyboardTypeUIKeyboardType. The keyboard style used for the text.
Placeholderstring. A string that is displayed when there is no other text in the text field.
Promptstring. A line of text displayed at the top of this UISearchBar.
ReturnKeyTypeUIReturnKeyType. Gets or sets the UIKit.UIReturnKeyType value for the return key that is associated with this UIKit.UISearchBar bar.
ScopeBarBackgroundImageUIImage. The UIImage used for the background of the scope bar.
ScopeButtonTitlesstring[]. The titles of the scope buttons.
SearchBarStyleUISearchBarStyle. The style used for this UISearchBar's appearance.
SearchFieldBackgroundPositionAdjustmentUIOffset. The offset of the search text field background in this UISearchBar.
SearchResultsButtonSelectedbool. Whether the search results button is selected.
SearchTextPositionAdjustmentUIOffset. The offset of the text in the search text field background.
SecureTextEntrybool. Gets or sets whether this UIKit.UISearchBar bar hides the text that a user enters.
SelectedScopeButtonIndexnint. The index of the selected scope button.
ShouldBeginEditingUISearchBarPredicate. Delegate invoked by the object to get a value.
ShouldChangeTextInRangeUISearchBarRangeEventArgs. Delegate invoked by the object to get a value.
ShouldEndEditingUISearchBarPredicate. Delegate invoked by the object to get a value.
ShowsBookmarkButtonbool. Whether the bookmark button is displayed.
ShowsCancelButtonbool. Whether the cancel button is displayed.
ShowsScopeBarbool. Whether the scope bar is displayed.
ShowsSearchResultsButtonbool. Whether the search results button is displayed.
SpellCheckingTypeUITextSpellCheckingType. The UIKit.UITextSpellCheckingType used on this UIKit.UISearchBar.
Textstring. The current or starting search text.
Translucentbool. True if the search bar is translucent.
WeakDelegateFoundation.NSObject. An object that can respond to the delegate protocol for this type