UISearchTextField Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
[Foundation.Register("UISearchTextField", true)]
public class UISearchTextField : UIKit.UITextField
[<Foundation.Register("UISearchTextField", true)>]
type UISearchTextField = class
inherit UITextField
- Inheritance
- Attributes
Constructors
| Name | Description |
|---|---|
| UISearchTextField() |
Creates a new UISearchTextField with default values. |
| UISearchTextField(CGRect) | |
| UISearchTextField(NativeHandle) |
A constructor used when creating managed representations of unmanaged objects. Called by the runtime. |
| UISearchTextField(NSCoder) |
A constructor that initializes the object from the data stored in the unarchiver object. |
| UISearchTextField(NSObjectFlag) |
Constructor to call on derived classes to skip initialization and merely allocate the object. |
Properties
| Name | Description |
|---|---|
| AccessibilityActivationPoint | (Inherited from UIView) |
| AccessibilityAssistiveTechnologyFocusedIdentifiers | (Inherited from UIResponder) |
| AccessibilityAttributedHint | (Inherited from UIView) |
| AccessibilityAttributedLabel | (Inherited from UIView) |
| AccessibilityAttributedUserInputLabels | (Inherited from UIView) |
| AccessibilityAttributedValue | (Inherited from UIView) |
| AccessibilityCustomActions | (Inherited from UIResponder) |
| AccessibilityDirectTouchOptions | (Inherited from UIView) |
| AccessibilityDragSourceDescriptors | (Inherited from UIResponder) |
| AccessibilityDropPointDescriptors | (Inherited from UIResponder) |
| AccessibilityElementsHidden | (Inherited from UIView) |
| AccessibilityExpandedStatus | (Inherited from UIView) |
| AccessibilityFrame | (Inherited from UIView) |
| AccessibilityHint | (Inherited from UIView) |
| AccessibilityIdentifier |
Uniquely identifies |
| AccessibilityIgnoresInvertColors | (Inherited from UIView) |
| AccessibilityLabel | (Inherited from UIView) |
| AccessibilityLanguage | (Inherited from UIView) |
| AccessibilityNavigationStyle | (Inherited from UIView) |
| AccessibilityPath | (Inherited from UIView) |
| AccessibilityRespondsToUserInteraction | (Inherited from UIView) |
| AccessibilityTextualContext | (Inherited from UIView) |
| AccessibilityTraits | (Inherited from UIView) |
| AccessibilityUserInputLabels | (Inherited from UIView) |
| AccessibilityValue | (Inherited from UIView) |
| AccessibilityViewIsModal | (Inherited from UIView) |
| ActivityItemsConfiguration | (Inherited from UIResponder) |
| AdjustsFontForContentSizeCategory | (Inherited from UITextField) |
| AdjustsFontSizeToFitWidth | (Inherited from UITextField) |
| AlignmentRectInsets | (Inherited from UIView) |
| AllControlEvents | (Inherited from UIControl) |
| AllowedWritingToolsResultOptions | (Inherited from UITextField) |
| AllowsCopyingTokens | |
| AllowsDeletingTokens | |
| AllowsEditingTextAttributes | (Inherited from UITextField) |
| AllowsNumberPadPopover | (Inherited from UITextField) |
| AllTargets | (Inherited from UIControl) |
| Alpha | (Inherited from UIView) |
| AnchorPoint | (Inherited from UIView) |
| Appearance |
Strongly-typed property that returns the UIAppearance class for this class. |
| AppliedContentSizeCategoryLimitsDescription | (Inherited from UIView) |
| AttributedPlaceholder | (Inherited from UITextField) |
| AttributedText | (Inherited from UITextField) |
| AutocapitalizationType |
The UITextAutocapitalizationType used by the IUITextInput. (Inherited from UITextField) |
| AutocorrectionType |
The UITextAutocorrectionType used by the IUITextInput. (Inherited from UITextField) |
| AutoresizingMask | (Inherited from UIView) |
| AutosizesSubviews | (Inherited from UIView) |
| Background | (Inherited from UITextField) |
| BackgroundColor |
The color used for the background. (Inherited from UIView) |
| BeginningOfDocument |
The position of text indicating the beginning of a document. (Inherited from UITextField) |
| BorderStyle | (Inherited from UITextField) |
| BottomAnchor | (Inherited from UIView) |
| Bounds | (Inherited from UIView) |
| CanBecomeFirstResponder | (Inherited from UIResponder) |
| CanBecomeFocused | (Inherited from UIView) |
| CanResignFirstResponder | (Inherited from UIResponder) |
| Center | (Inherited from UIView) |
| CenterXAnchor | (Inherited from UIView) |
| CenterYAnchor | (Inherited from UIView) |
| Class | (Inherited from NSObject) |
| ClassHandle |
The Objective-C class handle for this class. |
| ClearButtonMode | (Inherited from UITextField) |
| ClearsContextBeforeDrawing | (Inherited from UIView) |
| ClearsOnBeginEditing | (Inherited from UITextField) |
| ClearsOnInsertion | (Inherited from UITextField) |
| ClipsToBounds | (Inherited from UIView) |
| CollisionBoundingPath |
Returns the closed path that is used for collision detection. (Inherited from UIView) |
| CollisionBoundsType |
Returns a value that tells how collision bounds are specified. (Inherited from UIView) |
| Constraints | (Inherited from UIView) |
| ContentMode | (Inherited from UIView) |
| ContentScaleFactor | (Inherited from UIView) |
| ContentStretch | (Inherited from UIView) |
| ContextMenuInteraction | (Inherited from UIControl) |
| ContextMenuInteractionEnabled | (Inherited from UIControl) |
| ConversationContext | (Inherited from UITextField) |
| CoordinateSpace |
Gets the coordinate space implemenation. (Inherited from UIView) |
| CornerConfiguration | (Inherited from UIView) |
| DebugDescription | (Inherited from NSObject) |
| Delegate |
An instance of the UIKit.IUITextFieldDelegate model class which acts as the class delegate. (Inherited from UITextField) |
| Description | (Inherited from NSObject) |
| DirectionalLayoutMargins | (Inherited from UIView) |
| DisabledBackground | (Inherited from UITextField) |
| Editable | (Inherited from UITextField) |
| EditingInteractionConfiguration | (Inherited from UIResponder) |
| EffectiveContentHorizontalAlignment | (Inherited from UIControl) |
| EffectiveUserInterfaceLayoutDirection | (Inherited from UIView) |
| Enabled |
Whether this UIControl is enabled. (Inherited from UIControl) |
| EnablesReturnKeyAutomatically |
Whether the return key is automatically enabled. (Inherited from UITextField) |
| EndOfDocument |
The position of text indicating the beginning of a document. (Inherited from UITextField) |
| ExclusiveTouch |
Restricts the event delivery to this view. (Inherited from UIView) |
| FirstBaselineAnchor | (Inherited from UIView) |
| Focused |
Whether the UIView is the focused view. (Inherited from UIView) |
| FocusEffect | (Inherited from UIView) |
| FocusGroupIdentifier | (Inherited from UIView) |
| FocusGroupPriority | (Inherited from UIView) |
| FocusItemContainer |
Gets the container that manages focus information for child focus items. (Inherited from UIView) |
| FocusItemDeferralMode | (Inherited from UIView) |
| Font | (Inherited from UITextField) |
| Frame | (Inherited from UIView) |
| GestureRecognizers | (Inherited from UIView) |
| Handle |
Handle (pointer) to the unmanaged object representation. (Inherited from NSObject) |
| HasAmbiguousLayout | (Inherited from UIView) |
| HasText |
Gets a value that tells whether the key input has text in it. (Inherited from UITextField) |
| HeightAnchor | (Inherited from UIView) |
| Hidden |
Specifies whether the UIView displays or not. (Inherited from UIView) |
| Highlighted |
Whether this UIControl is highlighted. (Inherited from UIControl) |
| HorizontalAlignment | (Inherited from UIControl) |
| HoverStyle | (Inherited from UIView) |
| InlinePredictionType | (Inherited from UITextField) |
| InputAccessoryView | (Inherited from UITextField) |
| InputAccessoryViewController | (Inherited from UIResponder) |
| InputAssistantItem | (Inherited from UIResponder) |
| InputDelegate |
The input delegate object for this UITextField. (Inherited from UITextField) |
| InputView | (Inherited from UITextField) |
| InputViewController | (Inherited from UIResponder) |
| InsetsLayoutMarginsFromSafeArea | (Inherited from UIView) |
| Interactions | (Inherited from UIView) |
| InteractionState | (Inherited from UITextField) |
| IntrinsicContentSize | (Inherited from UIView) |
| IsAccessibilityElement | (Inherited from UIView) |
| IsDirectBinding | (Inherited from NSObject) |
| IsEditing |
A value that indicates if the user is editing the text in the view. Read-only. (Inherited from UITextField) |
| IsFirstResponder | (Inherited from UIResponder) |
| IsProxy | (Inherited from NSObject) |
| IsTransparentFocusItem | (Inherited from UIView) |
| KeyboardAppearance |
The UIKeyboardAppearance used by the IUITextInput (Inherited from UITextField) |
| KeyboardLayoutGuide | (Inherited from UIView) |
| KeyboardType |
The UIKeyboardType used by the IUITextInput. (Inherited from UITextField) |
| KeyCommands | (Inherited from UIResponder) |
| LargeContentImage | (Inherited from UIView) |
| LargeContentImageInsets | (Inherited from UIView) |
| LargeContentTitle | (Inherited from UIView) |
| LastBaselineAnchor | (Inherited from UIView) |
| Layer | (Inherited from UIView) |
| LayoutGuides | (Inherited from UIView) |
| LayoutMargins | (Inherited from UIView) |
| LayoutMarginsGuide | (Inherited from UIView) |
| LeadingAnchor | (Inherited from UIView) |
| LeftAnchor | (Inherited from UIView) |
| LeftView | (Inherited from UITextField) |
| LeftViewMode | (Inherited from UITextField) |
| MarkedTextRange |
The currently marked range of text in a given document. (Inherited from UITextField) |
| MarkedTextStyle |
Attribute dictionary describing how text should be drawn. (Inherited from UITextField) |
| MaskView | (Inherited from UIView) |
| MathExpressionCompletionType | (Inherited from UITextField) |
| MaximumContentSizeCategory | (Inherited from UIView) |
| MinimumContentSizeCategory | (Inherited from UIView) |
| MinimumFontSize | (Inherited from UITextField) |
| MotionEffects | (Inherited from UIView) |
| MultipleTouchEnabled |
Controls whether the UIView can handle multitouch events. (Inherited from UIView) |
| NextResponder | (Inherited from UIResponder) |
| Opaque |
Determines whether the view is opaque or not. (Inherited from UIView) |
| OverrideUserInterfaceStyle | (Inherited from UIView) |
| ParentFocusEnvironment |
Gets the parent focus environment. (Inherited from UIView) |
| PasswordRules |
The password entry rules. (Inherited from UITextField) |
| PasteConfiguration |
The UIPasteConfiguration supported by |
| PasteDelegate |
Gets the delegate for handling text pasting and text drops. (Inherited from UITextField) |
| Placeholder | (Inherited from UITextField) |
| PreferredFocusedView |
If not |
| PreferredFocusEnvironments |
Gets the list of focus environments, ordered by priority, that the environment prefers when updating the focus. (Inherited from UIView) |
| PreservesSuperviewLayoutMargins | (Inherited from UIView) |
| ReadableContentGuide | (Inherited from UIView) |
| RestorationIdentifier | (Inherited from UIView) |
| RetainCount | (Inherited from NSObject) |
| ReturnKeyType |
The form of the return key for the IUITextInput. (Inherited from UITextField) |
| RightAnchor | (Inherited from UIView) |
| RightView | (Inherited from UITextField) |
| RightViewMode | (Inherited from UITextField) |
| SafeAreaInsets | (Inherited from UIView) |
| SafeAreaLayoutGuide | (Inherited from UIView) |
| ScalesLargeContentImage | (Inherited from UIView) |
| SearchSuggestions | |
| SecureTextEntry |
Whether the entered text should be hidden. (Inherited from UITextField) |
| Selected |
Whether this UIControl is selected. (Inherited from UIControl) |
| SelectedTextRange |
The range of a document's selected text. (Inherited from UITextField) |
| SelectionAffinity |
A value that controls whether the cursor is displayed at the start of the last line or end of the second-to-last line of a multiline selection. (Inherited from UITextField) |
| Self | (Inherited from NSObject) |
| SemanticContentAttribute | (Inherited from UIView) |
| ShouldBeginEditing |
Raised when the text field wants to know if editing should begin. (Inherited from UITextField) |
| ShouldChangeCharacters |
Raised when the text field wants to know if the text in the text field should be changed. (Inherited from UITextField) |
| ShouldChangeCharactersInRanges |
Raised when the text field wants to know if the text in the text field should be changed for multiple ranges. (Inherited from UITextField) |
| ShouldClear |
Raised when the text field wants to know if the text in the text field should be cleared. (Inherited from UITextField) |
| ShouldEndEditing |
Raised when the text field wants to know if editing should end. (Inherited from UITextField) |
| ShouldGroupAccessibilityChildren | (Inherited from UIView) |
| ShouldReturn |
Raised when the 'Return' key was pressed, and the text field wants to know whether it should process this key press or not using the default behavior. (Inherited from UITextField) |
| ShowsLargeContentViewer | (Inherited from UIView) |
| ShowsMenuAsPrimaryAction | (Inherited from UIControl) |
| SizingRule | (Inherited from UITextField) |
| SmartDashesType |
The smart dashes style. (Inherited from UITextField) |
| SmartInsertDeleteType |
The smart insert style. (Inherited from UITextField) |
| SmartQuotesType |
The smart quotes style. (Inherited from UITextField) |
| SpellCheckingType |
Gets or sets a value that tells whether spell-checking is on, off, or if spell-checking will be enabled only when auto-complete is enabled (default). (Inherited from UITextField) |
| State | (Inherited from UIControl) |
| Subviews | (Inherited from UIView) |
| Superclass | (Inherited from NSObject) |
| SuperHandle |
Handle used to represent the methods in the base class for this NSObject. (Inherited from NSObject) |
| Superview | (Inherited from UIView) |
| SupportsAdaptiveImageGlyph | (Inherited from UITextField) |
| SymbolAnimationEnabled | (Inherited from UIControl) |
| Tag | (Inherited from UIView) |
| Text | (Inherited from UITextField) |
| TextAlignment | (Inherited from UITextField) |
| TextColor | (Inherited from UITextField) |
| TextContentType |
The semantic of the expected input, which allows the system to, for example, provide custom keyboards. (Inherited from UITextField) |
| TextDragActive |
Gets a Boolean value that tells whether a drag session is active for the text view. (Inherited from UITextField) |
| TextDragDelegate |
Gets or sets a delegate for managing drag source behavior. (Inherited from UITextField) |
| TextDragInteraction |
Gets the drag interaction on the text view. (Inherited from UITextField) |
| TextDragOptions |
Gets a value that controls how formatting is displayed in dragged text. (Inherited from UITextField) |
| TextDropActive |
Gets a Boolean value that tells whether there is an active text drop session on the view. (Inherited from UITextField) |
| TextDropDelegate |
Gets or sets a delegate for managing text drop behavior. (Inherited from UITextField) |
| TextDropInteraction |
Gets the drop interaction on the text view. (Inherited from UITextField) |
| TextInputContextIdentifier | (Inherited from UIResponder) |
| TextInputMode | (Inherited from UIResponder) |
| TextInputView |
Returns the input view that provides the coordinate system for geometric operations within the text input. (Inherited from UITextField) |
| TextualRange | |
| TintAdjustmentMode | (Inherited from UIView) |
| TintColor |
The color used for tinting. (Inherited from UIView) |
| TokenBackgroundColor | |
| Tokenizer |
This property provides information on the tokenizer that would be used to break up the text into units such as characters, words, lines, and paragraphs. (Inherited from UITextField) |
| Tokens | |
| ToolTip | (Inherited from UIControl) |
| ToolTipInteraction | (Inherited from UIControl) |
| TopAnchor | (Inherited from UIView) |
| TouchBar | (Inherited from UIResponder) |
| TouchInside |
Whether a touch is inside this UIControl. Read-only. (Inherited from UIControl) |
| Tracking |
Whether this UIControl is tracking touches related to an event. Read-only. (Inherited from UIControl) |
| TrailingAnchor | (Inherited from UIView) |
| TraitCollection |
Gets the trait collection that describes the environment. (Inherited from UIView) |
| TraitOverrides | (Inherited from UIView) |
| Transform | (Inherited from UIView) |
| Transform3D | (Inherited from UIView) |
| TranslatesAutoresizingMaskIntoConstraints | (Inherited from UIView) |
| TypingAttributes | (Inherited from UITextField) |
| UndoManager | (Inherited from UIResponder) |
| UserActivity | (Inherited from UIResponder) |
| UserInteractionEnabled |
Determines whether input events are processed by this view. (Inherited from UIView) |
| VerticalAlignment | (Inherited from UIControl) |
| ViewForBaselineLayout | (Inherited from UIView) |
| ViewForFirstBaselineLayout | (Inherited from UIView) |
| ViewForLastBaselineLayout | (Inherited from UIView) |
| ViewPrintFormatter | (Inherited from UIView) |
| WeakDefaultTextAttributes | (Inherited from UITextField) |
| WeakDelegate | (Inherited from UITextField) |
| WeakInputDelegate |
Indicates a weak input delegate. (Inherited from UITextField) |
| WeakTokenizer |
Indicates a weak tokenizer. (Inherited from UITextField) |
| WidthAnchor | (Inherited from UIView) |
| Window | (Inherited from UIView) |
| WritingToolsBehavior | (Inherited from UITextField) |
| Zone | (Inherited from NSObject) |
Methods
Events
| Name | Description |
|---|---|
| AllEditingEvents |
Raised on any editing events produced. (Inherited from UIControl) |
| AllEvents |
Raised for any event produced. (Inherited from UIControl) |
| AllTouchEvents |
Raised for any touch event produced. (Inherited from UIControl) |
| DidChangeSelection |
Raised when the text selection changed. (Inherited from UITextField) |
| EditingChanged |
The component changed. (Inherited from UIControl) |
| EditingDidBegin |
Raised when editing has started. (Inherited from UIControl) |
| EditingDidEnd |
Raised when editing ended. (Inherited from UIControl) |
| EditingDidEndOnExit |
Raised on didEndOnexit (Inherited from UIControl) |
| Ended |
Raised when editing has ended. (Inherited from UITextField) |
| EndedWithReason |
Event that is raised when editing ends. (Inherited from UITextField) |
| PrimaryActionTriggered |
Event associated with the most-likely behavior of the UIControl. (Inherited from UIControl) |
| Started |
Raised when editing has started. (Inherited from UITextField) |
| TouchCancel |
The touch event has been canceled. (Inherited from UIControl) |
| TouchDown |
Raised when the user touches the control. (Inherited from UIControl) |
| TouchDownRepeat |
Raised when the user double taps the control. (Inherited from UIControl) |
| TouchDragEnter |
Raised on TouchDragEnter events. (Inherited from UIControl) |
| TouchDragExit |
Raised on TouchDragExit events. (Inherited from UIControl) |
| TouchDragInside |
Raised oN TouchDragInside events. (Inherited from UIControl) |
| TouchDragOutside |
Raised on TouchDragOutside events. (Inherited from UIControl) |
| TouchUpInside |
Raised on TouchUpInside events. (Inherited from UIControl) |
| TouchUpOutside |
Raised on TouchUpOutside events. (Inherited from UIControl) |
| ValueChanged |
The value has changed. (Inherited from UIControl) |