UITextField
UITextField
Class
Definition
A text entry control.
[Foundation.Register("UITextField", true)]
public class UITextField : UIKit.UIControl, IDisposable, UIKit.IUIContentSizeCategoryAdjusting, UIKit.IUITextDraggable, UIKit.IUITextDroppable
type UITextField = class
inherit UIControl
interface IUITextInputTraits
interface INativeObject
interface IDisposable
interface IUIContentSizeCategoryAdjusting
interface IUIKeyInput
interface IUIPasteConfigurationSupporting
interface IUITextDraggable
interface IUITextInput
interface IUITextDroppable
interface IUITextPasteConfigurationSupporting
- Inheritance
-
UITextFieldUITextField
- Attributes
- Implements
-
INativeObjectINativeObject IDisposableIDisposable IUIContentSizeCategoryAdjustingIUIContentSizeCategoryAdjusting IUIKeyInputIUIKeyInput IUIPasteConfigurationSupportingIUIPasteConfigurationSupporting IUITextDraggableIUITextDraggable IUITextDroppableIUITextDroppable IUITextInputIUITextInput IUITextInputTraitsIUITextInputTraits IUITextPasteConfigurationSupportingIUITextPasteConfigurationSupporting
Remarks
The Xamarin API supports two styles of event notification: the Objective-C style that uses a delegate class or the C# style using event notifications.
The C# style allows the user to add or remove event handlers at runtime by assigning to the events of properties of this class. Event handlers can be anyone of a method, an anonymous methods or a lambda expression. Using the C# style events or properties will override any manual settings to the Objective-C Delegate or WeakDelegate settings.
The Objective-C style requires the user to create a new class derived from UITextFieldDelegate class and assign it to the
Constructors
UITextField() UITextField() |
Default constructor that initializes a new instance of this class with no parameters. |
UITextField(CGRect) UITextField(CGRect) |
Initializes the UITextField with the specified frame. |
UITextField(IntPtr) UITextField(IntPtr) |
A constructor used when creating managed representations of unmanaged objects; Called by the runtime. |
UITextField(NSCoder) UITextField(NSCoder) |
A constructor that initializes the object from the data stored in the unarchiver object. |
UITextField(NSObjectFlag) UITextField(NSObjectFlag) |
Constructor to call on derived classes to skip initialization and merely allocate the object. |
Properties
AccessibilityActivationPoint AccessibilityActivationPoint |
The screen coordinates for the accessibility element. (Inherited from UIView) |
AccessibilityAssistiveTechnologyFocusedIdentifiers AccessibilityAssistiveTechnologyFocusedIdentifiers | Inherited from UIResponder |
AccessibilityAttributedHint AccessibilityAttributedHint |
An attributed string providing a brief description of the behavior of the accessibility element. (Inherited from UIView) |
AccessibilityAttributedLabel AccessibilityAttributedLabel |
A brief attributed string describing the purpose of the UIView. (Inherited from UIView) |
AccessibilityAttributedValue AccessibilityAttributedValue |
An attributed string holding the value of the UIView, when it is different than the AccessibilityAttributedLabel. (Inherited from UIView) |
AccessibilityCustomActions AccessibilityCustomActions |
Allows methods to be added to AccessibilityCustomActions as accessibility-supporting supplementary actions. (Inherited from UIResponder) |
AccessibilityDragSourceDescriptors AccessibilityDragSourceDescriptors | Inherited from UIResponder |
AccessibilityDropPointDescriptors AccessibilityDropPointDescriptors | Inherited from UIResponder |
AccessibilityElementsHidden AccessibilityElementsHidden |
Whether the view's accessibility elements are visible. (Inherited from UIView) |
AccessibilityFrame AccessibilityFrame |
The Frame of the accessibility element, in screen coordinates. (Inherited from UIView) |
AccessibilityHint AccessibilityHint |
A brief description of the action performed by the accessibility element. (Inherited from UIView) |
AccessibilityIdentifier AccessibilityIdentifier |
Uniquely identifies |
AccessibilityIgnoresInvertColors AccessibilityIgnoresInvertColors |
Gets or sets whether the UIView will invert its colors in response to such an accessibility request. (Inherited from UIView) |
AccessibilityLabel AccessibilityLabel |
A localized identifier for the accessibility element. (Inherited from UIView) |
AccessibilityLanguage AccessibilityLanguage |
The BCP 47 language tag of the language used to speak the accessibility element's components. (Inherited from UIView) |
AccessibilityNavigationStyle AccessibilityNavigationStyle |
Gets or sets the navigation style. (Inherited from UIView) |
AccessibilityPath AccessibilityPath |
Allows the accessibility element to be non-rectangular. (Inherited from UIView) |
AccessibilityTraits AccessibilityTraits |
A bitmask of the UIAccessibilityTraits of |
AccessibilityValue AccessibilityValue |
The value of the accessibility element. (Inherited from UIView) |
AccessibilityViewIsModal AccessibilityViewIsModal |
Whether Voice Over should ignore sibling elements. (Inherited from UIView) |
AdjustsFontForContentSizeCategory AdjustsFontForContentSizeCategory |
Gets or sets whether the UITextField changes its font when the device's content-size category changes. |
AdjustsFontSizeToFitWidth AdjustsFontSizeToFitWidth |
A Boolean that controls if the font should be scaled down to ensure the text fits in the control. |
AlignmentRectInsets AlignmentRectInsets |
Adjustments to the Frame for use with Auto Layout. (Inherited from UIView) |
AllControlEvents AllControlEvents |
The control events associated with this UIControl. (Inherited from UIControl) |
AllowsEditingTextAttributes AllowsEditingTextAttributes |
Whether text entered or pasted can change the attributes of the content. |
AllTargets AllTargets |
The target objects associated with this UIControl. (Inherited from UIControl) |
Alpha Alpha |
Controls the transparency (alpha) value for the view. (Inherited from UIView) |
Appearance Appearance |
Strongly-typed property that returns the UIAppearance class for this class. |
AttributedPlaceholder AttributedPlaceholder |
Sets the contents of the placeholder as an attributed string. |
AttributedText AttributedText |
Sets the contents of the text field using an attributed string. |
AutocapitalizationType AutocapitalizationType |
This property controls how words should be capitalized by the system during user input. |
AutocorrectionType AutocorrectionType |
This property controls how auto-correction should be applied by the system during user input. |
AutoresizingMask AutoresizingMask |
A bitmask that specifies how the receiver should resize itself when it's super-view's bounds change. (Inherited from UIView) |
AutosizesSubviews AutosizesSubviews |
Specifies whether the receiver should automatically resize its Subviews when the receiver's Bounds change. (Inherited from UIView) |
Background Background |
This property contains the image that will be displayed in the background of the control when it is enabled. |
BackgroundColor BackgroundColor |
Sets the background color of the UIView. (Inherited from UIView) |
BeginningOfDocument BeginningOfDocument |
Specifies the text position that is the start of the document. Read-only. |
BorderStyle BorderStyle |
The border style. |
BottomAnchor BottomAnchor |
The NSLayoutYAxisAnchor that defines the bottom of this UIView. (Inherited from UIView) |
Bounds Bounds |
The usable frame of the view, specified using the view's own coordinate system. (Inherited from UIView) |
CanBecomeFirstResponder CanBecomeFirstResponder |
Determines whether this UIREsponder is willing to become the first responder. (Inherited from UIResponder) |
CanBecomeFocused CanBecomeFocused |
Whether this UIView can become the focused view. (Inherited from UIView) |
CanResignFirstResponder CanResignFirstResponder |
Determines whether this UIResponder is willing to give up its first responder status. (Inherited from UIResponder) |
Center Center |
The center of the view, in the container coordinate space. (Inherited from UIView) |
CenterXAnchor CenterXAnchor |
The NSLayoutXAxisAnchor that defines the X-axis center of this UIView. (Inherited from UIView) |
CenterYAnchor CenterYAnchor |
The NSLayoutYAxisAnchor that defines the Y-axis center of this UIView. (Inherited from UIView) |
Class Class | Inherited from NSObject |
ClassHandle ClassHandle |
The handle for this class. |
ClearButtonMode ClearButtonMode |
This property controls when the 'clear' button appears in the text field. |
ClearsContextBeforeDrawing ClearsContextBeforeDrawing |
Specifies that the drawing buffer be erased prior to calling DrawRect(CGRect, UIViewPrintFormatter) (Inherited from UIView) |
ClearsOnBeginEditing ClearsOnBeginEditing |
This property indicates if the control will delete any existing text before editing. |
ClearsOnInsertion ClearsOnInsertion |
Whether a paste operation should replace existing content. |
ClipsToBounds ClipsToBounds |
Specifies whether the Subviews are confined to the Bounds of the receiver. (Inherited from UIView) |
CollisionBoundingPath CollisionBoundingPath |
Gets the UIBezierPath to be used for collision detection. (Inherited from UIView) |
CollisionBoundsType CollisionBoundsType |
Gets the UIDynamicItemCollisionBoundsType describing the type of bounds used for collision detected. (Inherited from UIView) |
Constraints Constraints |
The constraints used by Auto Layout on this UIView. (Inherited from UIView) |
ContentMode ContentMode |
Controls how the cached bitmap of a view must be rendered when the view's bounds change. (Inherited from UIView) |
ContentScaleFactor ContentScaleFactor |
The number of device pixels per logical coordinate point. (Inherited from UIView) |
ContentStretch ContentStretch |
Developers should not use this deprecated property. Developers should use 'CreateResizableImage' instead. (Inherited from UIView) |
CoordinateSpace CoordinateSpace |
Returns the coordinate space implemenation for the UIView. (Inherited from UIView) |
CurrentInputModeDidChangeNotification CurrentInputModeDidChangeNotification |
Notification constant for CurrentInputModeDidChange |
DebugDescription DebugDescription |
A developer-meaningful description of this object. (Inherited from NSObject) |
Delegate Delegate |
An instance of the UIKit.IUITextFieldDelegate model class which acts as the class delegate. |
Description Description |
Description of the object, the Objective-C version of ToString. (Inherited from NSObject) |
DidEndEditingReasonKey DidEndEditingReasonKey | |
DirectionalLayoutMargins DirectionalLayoutMargins |
Gets or sets the layout margins for laying out content that respects the current language direction. (Inherited from UIView) |
DisabledBackground DisabledBackground |
The image to display in the background when the control is disabled. |
EffectiveContentHorizontalAlignment EffectiveContentHorizontalAlignment |
Gets the current horizontal alignment. (Inherited from UIControl) |
EffectiveUserInterfaceLayoutDirection EffectiveUserInterfaceLayoutDirection |
Gets the layout direction for arranging the view's contents. (Inherited from UIView) |
Enabled Enabled |
Whether this UIControl is enabled. (Inherited from UIControl) |
EnablesReturnKeyAutomatically EnablesReturnKeyAutomatically |
A value that control if the return key is automatically enabled. |
EndOfDocument EndOfDocument |
The text position for the end of the document. |
ExclusiveTouch ExclusiveTouch |
Restricts the event delivery to this view. (Inherited from UIView) |
FirstBaselineAnchor FirstBaselineAnchor |
A NSLayoutYAxisAnchor that defines a constraint based on the baseline of the first line of text in this UIView. (Inherited from UIView) |
Focused Focused |
Whether the UIView is the focused view. (Inherited from UIView) |
FocusItemContainer FocusItemContainer |
Gets the focus container that provides spatial information to child focus items. (Inherited from UIView) |
Font Font |
The font to use for displaying the text. |
Frame Frame |
Coordinates of the view relative to its container. (Inherited from UIView) |
GestureRecognizers GestureRecognizers |
The array of UIGestureRecognizers for this UIView. (Inherited from UIView) |
Handle Handle |
Handle (pointer) to the unmanaged object representation. (Inherited from NSObject) |
HasAmbiguousLayout HasAmbiguousLayout |
Returns |
HasText HasText |
A value representing if there is text in the view. |
HeightAnchor HeightAnchor |
The NSLayoutDimension that defines the height of this UIView. (Inherited from UIView) |
Hidden Hidden |
Specifies whether the UIView displays or not. (Inherited from UIView) |
Highlighted Highlighted |
Whether this UIControl is highlighted. (Inherited from UIControl) |
HorizontalAlignment HorizontalAlignment |
The horizontal alignment of this UIControl's content. (Inherited from UIControl) |
InputAccessoryView InputAccessoryView |
A custom view to display when this control becomes the first responder. |
InputAccessoryViewController InputAccessoryViewController |
Gets the custom accessory UIInputViewController to display when |
InputAssistantItem InputAssistantItem |
Gets the assistant that will be used to configure the shortcut bar. (Inherited from UIResponder) |
InputDelegate InputDelegate |
The input delegate object for this UITextField. |
InputView InputView |
A custom view to be used when the control becomes the first responder. |
InputViewController InputViewController |
Gets the custom UIInputViewController to display when |
InsetsLayoutMarginsFromSafeArea InsetsLayoutMarginsFromSafeArea |
Gets or sets a Boolean value that controls whether margins are adjusted to always fall within the safe area. Default is |
Interactions Interactions |
Gets or sets the current set of interactions. (Inherited from UIView) |
IntrinsicContentSize IntrinsicContentSize |
The size of the intrinsic content of the UIView. (Inherited from UIView) |
IsAccessibilityElement IsAccessibilityElement |
Whether |
IsDirectBinding IsDirectBinding | Inherited from NSObject |
IsEditing IsEditing |
A value that indicates if the user is editing the text in the view. Read-only. |
IsFirstResponder IsFirstResponder |
Returns whether this UIResponder is the First Responder. (Inherited from UIResponder) |
IsProxy IsProxy | Inherited from NSObject |
KeyboardAppearance KeyboardAppearance |
The style of the keyboard that is used with the view. |
KeyboardType KeyboardType |
The type of keyboard to use with the view. |
KeyCommands KeyCommands |
The key commands that should trigger action on this UIResponder. Read-only. (Inherited from UIResponder) |
LastBaselineAnchor LastBaselineAnchor |
A NSLayoutYAxisAnchor that defines a constraint based on the baseline of the first line of text in this UIView. (Inherited from UIView) |
Layer Layer |
The Core Animation layer used for rendering. (Inherited from UIView) |
LayoutGuides LayoutGuides |
The UILayoutGuide objects defined for this UIView. (Inherited from UIView) |
LayoutMargins LayoutMargins |
Lays out margins. (Inherited from UIView) |
LayoutMarginsGuide LayoutMarginsGuide |
Defines the margin attributes. (Inherited from UIView) |
LeadingAnchor LeadingAnchor |
The NSLayoutXAxisAnchor that defines the leading edge of this UIView. (Inherited from UIView) |
LeftAnchor LeftAnchor |
The NSLayoutXAxisAnchor that defines the left edge of this UIView. (Inherited from UIView) |
LeftView LeftView |
An overlay that is displayed on the left side of the view. |
LeftViewMode LeftViewMode |
A property that determines when the LeftView will be displayed. |
MarkedTextRange MarkedTextRange |
The range of marked text in the document. Read-only. |
MarkedTextStyle MarkedTextStyle |
A NSDictionary of attributes describing style of the MarkedTextRange. |
MaskView MaskView |
Returns mask view. (Inherited from UIView) |
MinimumFontSize MinimumFontSize |
This property represents the smallest font size that may be used for the text. |
MotionEffects MotionEffects |
Current set of motion effects on this view. (Inherited from UIView) |
MultipleTouchEnabled MultipleTouchEnabled |
Controls whether the UIView can handle multitouch events. (Inherited from UIView) |
NextResponder NextResponder |
The next responder on the response chain (Inherited from UIResponder) |
Opaque Opaque |
Determines whether the view is opaque or not. (Inherited from UIView) |
ParentFocusEnvironment ParentFocusEnvironment |
Gets the parent focus environment. (Inherited from UIView) |
PasswordRules PasswordRules |
Gets or sets the password rules for entering passwords in the UITextView. |
PasteConfiguration PasteConfiguration |
The UIPasteConfiguration supported by |
PasteDelegate PasteDelegate |
Gets the delegate for handling text pasting and text drops. |
Placeholder Placeholder |
This property represents the text to be displayed when there is no text in the view. |
PreferredFocusedView PreferredFocusedView |
Returns the UIView that should actually be focused. (Inherited from UIView) |
PreferredFocusEnvironments PreferredFocusEnvironments |
An array of IUIFocusEnvironments that are recursively searched by the system to find the default focused view. (Inherited from UIView) |
PreservesSuperviewLayoutMargins PreservesSuperviewLayoutMargins |
Preserves layout margins for superview. (Inherited from UIView) |
ReadableContentGuide ReadableContentGuide |
An area that can be read by the user with minimal head moving. (Inherited from UIView) |
RestorationIdentifier RestorationIdentifier |
If not |
RetainCount RetainCount |
Returns the current Objective-C retain count for the object. (Inherited from NSObject) |
ReturnKeyType ReturnKeyType |
The property is used to get or set the UIReturnKeyType of the "return" key. The "return" key will display different text depending on this property. |
RightAnchor RightAnchor |
The NSLayoutXAxisAnchor that defines the right edge of this UIView. (Inherited from UIView) |
RightView RightView |
This property holds a overlay that will be displayed on the right side of the text field. |
RightViewMode RightViewMode |
This property controls when the RightView will appear. |
SafeAreaInsets SafeAreaInsets |
Gets the insets that place the content so that navigation and tab bars, toolbars, and other content does not obscure the view of the content. (Inherited from UIView) |
SafeAreaLayoutGuide SafeAreaLayoutGuide |
Gets the layout guide for placing the content so that navigation and tab bars, toolbars, and other content does not obscure the view of the content. (Inherited from UIView) |
SecureTextEntry SecureTextEntry |
This property controls if the text being displayed should be hidden. |
Selected Selected |
Whether this UIControl is selected. (Inherited from UIControl) |
SelectedTextRange SelectedTextRange |
This property returns the range of text that is selected. |
SelectionAffinity SelectionAffinity |
Sets 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. |
Self Self | Inherited from NSObject |
SemanticContentAttribute SemanticContentAttribute |
Specifies whether the UIView should maintain it's layour or flip when used with a right-to-left layout. (Inherited from UIView) |
ShouldBeginEditing ShouldBeginEditing |
Delegate invoked by the object to get a value. |
ShouldChangeCharacters ShouldChangeCharacters |
Delegate invoked by the object to get a value. |
ShouldClear ShouldClear |
Delegate invoked by the object to get a value. |
ShouldEndEditing ShouldEndEditing |
Delegate invoked by the object to get a value. |
ShouldGroupAccessibilityChildren ShouldGroupAccessibilityChildren |
Whether the UIView's children should be grouped for the purposes of voice-over, regardless of their position on the screen. (Inherited from UIView) |
ShouldReturn ShouldReturn |
Delegate invoked by the object to get a value. |
SmartDashesType SmartDashesType |
Gets or sets the current UITextSmartDashesType, which determines how two hyphens are treated. |
SmartInsertDeleteType SmartInsertDeleteType |
Gets or sets the current UITextSmartInsertDeleteType, which determines how spaces are treated when text is cut or pasted. |
SmartQuotesType SmartQuotesType |
Gets or sets the current UITextSmartQuotesType, which determines whether apostrophes are converted to quotation glyphs. |
SpellCheckingType SpellCheckingType |
This property controls if spell checking will be enabled or disabled during input. |
State State |
A bitmask that indicates the state of this UIControl. Read-only. (Inherited from UIControl) |
Subviews Subviews |
An array of UIViews that are contained within |
Superclass Superclass | Inherited from NSObject |
SuperHandle SuperHandle |
Handle used to represent the methods in the base class for this NSObject. (Inherited from NSObject) |
Superview Superview |
The UIView, if any, that contains |
Tag Tag |
An integer that can be used to identify a specific UIView instance. (Inherited from UIView) |
Text Text |
The text to display. |
TextAlignment TextAlignment |
How the Text should be aligned. |
TextBackgroundColorKey TextBackgroundColorKey |
Developers should not use this deprecated property. Developers should use 'NSAttributedString.BackgroundColorAttributeName'. |
TextColor TextColor |
The color of the Text. |
TextColorKey TextColorKey |
The property holds the key that should be used to retrieve the value of the text color from a NSDictionary. |
TextContentType TextContentType |
A hint of the type of data the field should contain (must be value from UITextContentType). |
TextDidBeginEditingNotification TextDidBeginEditingNotification |
Notification constant for TextDidBeginEditing |
TextDidEndEditingNotification TextDidEndEditingNotification |
Notification constant for TextDidEndEditing |
TextDragActive TextDragActive |
Gets a Boolean value that tells whether a drag session is active for the text view. |
TextDragDelegate TextDragDelegate |
Gets or sets a delegate for managing drag source behavior. |
TextDragInteraction TextDragInteraction |
Gets the drag interaction on the text view. |
TextDragOptions TextDragOptions |
Gets a value that controls how formatting is displayed in dragged text. |
TextDropActive TextDropActive |
Gets a Boolean value that tells whether there is an active text drop session on the view. |
TextDropDelegate TextDropDelegate |
Gets or sets a delegate for managing text drop behavior. |
TextDropInteraction TextDropInteraction |
Gets the drop interaction on the text view. |
TextFieldTextDidChangeNotification TextFieldTextDidChangeNotification |
Notification constant for TextFieldTextDidChange |
TextFontKey TextFontKey |
The property holds the key that should be used to retrieve the value of the font for the text from a NSDictionary. |
TextInputContextIdentifier TextInputContextIdentifier |
An identifier indicating that this UIResponder should preserve its text input mode information. Read-only. (Inherited from UIResponder) |
TextInputMode TextInputMode |
The text input mode for this UIResponder. Read-only. (Inherited from UIResponder) |
TextInputView TextInputView |
This the view that provides the coordinate system. Read-only. |
TintAdjustmentMode TintAdjustmentMode |
The tint adjustment applied to this UIView or one of its parent views. (Inherited from UIView) |
TintColor TintColor |
A highlight color which should be used to indicate interactive controls. (Inherited from UIView) |
Tokenizer 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. |
TopAnchor TopAnchor |
The NSLayoutYAxisAnchor that defines the top of this UIView. (Inherited from UIView) |
TouchInside TouchInside |
Whether a touch is inside this UIControl. Read-only. (Inherited from UIControl) |
Tracking Tracking |
Whether this UIControl is tracking touches related to an event. Read-only. (Inherited from UIControl) |
TrailingAnchor TrailingAnchor |
The NSLayoutXAxisAnchor that defines the leading edge of this UIView. (Inherited from UIView) |
TraitCollection TraitCollection |
Returns a trait collection. (Inherited from UIView) |
Transform Transform |
The transform of the UIView, relative to the center of its bounds. (Inherited from UIView) |
TranslatesAutoresizingMaskIntoConstraints TranslatesAutoresizingMaskIntoConstraints |
Specifies whether the autoresizing mask should be translated into constraints for Auto Layout. (Inherited from UIView) |
TypingAttributes TypingAttributes |
The attribute keys to apply to newly typed text. |
UndoManager UndoManager |
The nearest shared NSUndoManager in the responder chain. Read-only. (Inherited from UIResponder) |
UserActivity UserActivity |
Action that encapsulates a user activity that is supported by this responder. (Inherited from UIResponder) |
UserInteractionEnabled UserInteractionEnabled |
Determines whether input events are processed by this view. (Inherited from UIView) |
VerticalAlignment VerticalAlignment |
The vertical alignment of this UIControl's content. (Inherited from UIControl) |
ViewForBaselineLayout ViewForBaselineLayout |
Returns the UIView upon which baseline constraints should be applied. (Inherited from UIView) |
ViewForFirstBaselineLayout ViewForFirstBaselineLayout |
When overridden, allows the app dev to return a subview as the basis for baseline constraints. (Inherited from UIView) |
ViewForLastBaselineLayout ViewForLastBaselineLayout |
When overridden, allows the app dev to return a subview as the basis for baseline constraints. (Inherited from UIView) |
ViewPrintFormatter ViewPrintFormatter |
Returns a UIViewPrintFormatter appropriate for the UIView. (Inherited from UIView) |
WeakDefaultTextAttributes WeakDefaultTextAttributes |
A reference to the text attributes that does not prevent garbage collection. |
WeakDelegate WeakDelegate |
An object that can respond to the delegate protocol for this type |
WeakInputDelegate WeakInputDelegate |
An object that can respond to the delegate protocol for inserted text. |
WeakTokenizer WeakTokenizer |
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. |
WidthAnchor WidthAnchor |
The NSLayoutDimension that defines the horizontal extent of this UIView. (Inherited from UIView) |
Window Window | (Inherited from UIView) |
Zone Zone | Inherited from NSObject |
Methods
AccessibilityActivate() AccessibilityActivate() |
Activates accessibility for this UIView, returning |
AccessibilityDecrement() AccessibilityDecrement() |
Tells the accessibility element to decrement the value of its content. (Inherited from UIResponder) |
AccessibilityElementDidBecomeFocused() AccessibilityElementDidBecomeFocused() |
Indicates that an assistive technology has set its focus to |
AccessibilityElementDidLoseFocus() AccessibilityElementDidLoseFocus() |
Indicates that an assistive technology has changed its focus from |
AccessibilityElementIsFocused() AccessibilityElementIsFocused() |
Indicates whether an assistive technology is focused on |
AccessibilityIncrement() AccessibilityIncrement() |
Tells the accessibility element to increment the value of its content. (Inherited from UIResponder) |
AccessibilityPerformEscape() AccessibilityPerformEscape() |
Tells the accessibility system to dismiss a modal popover or hierarchically-displayed element. (Inherited from UIResponder) |
AccessibilityPerformMagicTap() AccessibilityPerformMagicTap() |
Toggles the application-defined "most important state" of the app. (Inherited from UIResponder) |
AccessibilityScroll(UIAccessibilityScrollDirection) AccessibilityScroll(UIAccessibilityScrollDirection) |
When overridden, allows the accessibility system to perform scrolling. (Inherited from UIResponder) |
ActionForLayer(CALayer, String) ActionForLayer(CALayer, String) |
Retrieves the default CAAction identified by that targets . (Inherited from UIView) |
Add(UIView) Add(UIView) |
This is an alias for AddSubview(UIView), but uses the Add pattern as it allows C# 3.0 constructs to add subviews after creating the object. (Inherited from UIView) |
AddConstraint(NSLayoutConstraint) AddConstraint(NSLayoutConstraint) |
Adds a constraint to the layout of the receiving view or its subviews. (Inherited from UIView) |
AddConstraints(NSLayoutConstraint[]) AddConstraints(NSLayoutConstraint[]) |
Adds multiple constraints to the layout of the receiving view or its subviews. (Inherited from UIView) |
AddGestureRecognizer(UIGestureRecognizer) AddGestureRecognizer(UIGestureRecognizer) |
Adds a gesture recognizer to this view. (Inherited from UIView) |
AddInteraction(IUIInteraction) AddInteraction(IUIInteraction) |
Adds the interaction to the view. (Inherited from UIView) |
AddLayoutGuide(UILayoutGuide) AddLayoutGuide(UILayoutGuide) |
Adds the specified |
AddMotionEffect(UIMotionEffect) AddMotionEffect(UIMotionEffect) |
Adds the specified motion effect to the view. (Inherited from UIView) |
AddObserver(NSObject, NSString, NSKeyValueObservingOptions, IntPtr) AddObserver(NSObject, NSString, NSKeyValueObservingOptions, IntPtr) |
Registers an object for being observed externally (using NSString keyPath). Observed changes are dispatched to the observer’s object ObserveValue(NSString, NSObject, NSDictionary, IntPtr) method. (Inherited from NSObject) |
AddObserver(NSObject, String, NSKeyValueObservingOptions, IntPtr) AddObserver(NSObject, String, NSKeyValueObservingOptions, IntPtr) |
Registers an object for being observed externally (using string keyPath). Observed changes are dispatched to the observer’s object ObserveValue(NSString, NSObject, NSDictionary, IntPtr) method. (Inherited from NSObject) |
AddObserver(NSString, NSKeyValueObservingOptions, Action<NSObservedChange>) AddObserver(NSString, NSKeyValueObservingOptions, Action<NSObservedChange>) |
Registers an object for being observed externally using an arbitrary method. (Inherited from NSObject) |
AddObserver(String, NSKeyValueObservingOptions, Action<NSObservedChange>) AddObserver(String, NSKeyValueObservingOptions, Action<NSObservedChange>) |
Registers an object for being observed externally using an arbitrary method. (Inherited from NSObject) |
AddSubview(UIView) AddSubview(UIView) |
Adds the specified view as a subview of this view. (Inherited from UIView) |
AddSubviews(UIView[]) AddSubviews(UIView[]) |
Convenience routine to add various views to a UIView. (Inherited from UIView) |
AddTarget(EventHandler, UIControlEvent) AddTarget(EventHandler, UIControlEvent) |
Adds an event handler for the specified set of events. (Inherited from UIControl) |
AddTarget(NSObject, Selector, UIControlEvent) AddTarget(NSObject, Selector, UIControlEvent) |
Adds a target and control event(s) to this UIControl's internal dispatch table. (Inherited from UIControl) |
AlignmentRectForFrame(CGRect) AlignmentRectForFrame(CGRect) |
Returns a customized alignment rectangle for Auto Layout. (Inherited from UIView) |
AppearanceWhenContainedIn(Type[]) AppearanceWhenContainedIn(Type[]) |
Returns a strongly typed UIAppearance for instances of this class when the view is hosted in the specified hierarchy. |
AwakeFromNib() AwakeFromNib() |
Called after the object has been loaded from the nib file. Overriders must call base.AwakeFromNib(). (Inherited from NSObject) |
BecomeFirstResponder() BecomeFirstResponder() |
Request the object to become the first responder. (Inherited from UIResponder) |
BeginFloatingCursor(CGPoint) BeginFloatingCursor(CGPoint) |
Begins displaying the floating cursor at the specified |
BeginInvokeOnMainThread(Action) BeginInvokeOnMainThread(Action) | Inherited from NSObject |
BeginInvokeOnMainThread(Selector, NSObject) BeginInvokeOnMainThread(Selector, NSObject) |
Invokes asynchrously the specified code on the main UI thread. (Inherited from NSObject) |
BeginTracking(UITouch, UIEvent) BeginTracking(UITouch, UIEvent) |
Indicates that a touch related to the specified event has entered the UIControl's bounds. (Inherited from UIControl) |
BorderRect(CGRect) BorderRect(CGRect) |
Returns the border rectangle. |
BringSubviewToFront(UIView) BringSubviewToFront(UIView) |
Moves the specified subview so that it appears in front of other Subviews. (Inherited from UIView) |
CancelTracking(UIEvent) CancelTracking(UIEvent) |
Stops tracking related to the specified event. (Inherited from UIControl) |
CanPaste(NSItemProvider[]) CanPaste(NSItemProvider[]) |
Gets whether the UITextField can paste data provider by the . |
CanPerform(Selector, NSObject) CanPerform(Selector, NSObject) |
Determines if this UIResponder can perform the specified action. Typically used to probe for editing commands. (Inherited from UIResponder) |
Capture(Boolean) Capture(Boolean) |
Performs a screen-capture of the UIView. (Inherited from UIView) |
ClearButtonRect(CGRect) ClearButtonRect(CGRect) |
Returns a rectangle for drawing the 'clear' button. |
ComparePosition(UITextPosition, UITextPosition) ComparePosition(UITextPosition, UITextPosition) |
Returns a value that shows how one location in a document that compares to another location: before, identical, or after. |
ConformsToProtocol(IntPtr) ConformsToProtocol(IntPtr) |
Invoked to determine if this object implements the specified protocol. (Inherited from NSObject) |
ContentCompressionResistancePriority(UILayoutConstraintAxis) ContentCompressionResistancePriority(UILayoutConstraintAxis) |
Returns the resistance of an axis to compression below its intrinsic size. (Inherited from UIView) |
ContentHuggingPriority(UILayoutConstraintAxis) ContentHuggingPriority(UILayoutConstraintAxis) |
Returns the resistance of an axis to expansion larger than its intrinsic size. (Inherited from UIView) |
ContinueTracking(UITouch, UIEvent) ContinueTracking(UITouch, UIEvent) |
Called repeatedly as the UIControl tracks a touch within its bounds, related to the specified event.|Called repeatedly as the UIControl tracks a touch within its bounds, related to the givespecified event. (Inherited from UIControl) |
ConvertPointFromCoordinateSpace(CGPoint, IUICoordinateSpace) ConvertPointFromCoordinateSpace(CGPoint, IUICoordinateSpace) |
Converts from the coordinate system to |
ConvertPointFromView(CGPoint, UIView) ConvertPointFromView(CGPoint, UIView) |
Converts from the coordinate system of to |
ConvertPointToCoordinateSpace(CGPoint, IUICoordinateSpace) ConvertPointToCoordinateSpace(CGPoint, IUICoordinateSpace) |
Converts from |
ConvertPointToView(CGPoint, UIView) ConvertPointToView(CGPoint, UIView) |
Converts from |
ConvertRectFromCoordinateSpace(CGRect, IUICoordinateSpace) ConvertRectFromCoordinateSpace(CGRect, IUICoordinateSpace) |
Converts from the coordinate system of to that of |
ConvertRectFromView(CGRect, UIView) ConvertRectFromView(CGRect, UIView) |
Converts from the coordinate system used in to that of |
ConvertRectToCoordinateSpace(CGRect, IUICoordinateSpace) ConvertRectToCoordinateSpace(CGRect, IUICoordinateSpace) |
Converts from |
ConvertRectToView(CGRect, UIView) ConvertRectToView(CGRect, UIView) |
Converts from |
Copy() Copy() |
Performs a copy of the underlying Objective-C object. (Inherited from NSObject) |
Copy(NSObject) Copy(NSObject) |
Indicates a "Copy" editing operation. (Inherited from UIResponder) |
Cut(NSObject) Cut(NSObject) |
Indicates a "Cut" editing operation. (Inherited from UIResponder) |
DangerousAutorelease() DangerousAutorelease() | Inherited from NSObject |
DangerousRelease() DangerousRelease() | Inherited from NSObject |
DangerousRetain() DangerousRetain() | Inherited from NSObject |
DecodeRestorableState(NSCoder) DecodeRestorableState(NSCoder) |
Application developers can override this method to support state restoration. (Inherited from UIView) |
Delete(NSObject) Delete(NSObject) |
Indicates a "Delete" editing operation. (Inherited from UIResponder) |
DeleteBackward() DeleteBackward() |
This method will delete one character backward of the cursor. |
DictationRecognitionFailed() DictationRecognitionFailed() |
This method is called when dictation has completed and failed. |
DictationRecordingDidEnd() DictationRecordingDidEnd() |
Called when dictation finished. |
DidChange(NSKeyValueChange, NSIndexSet, NSString) DidChange(NSKeyValueChange, NSIndexSet, NSString) |
Indicates a change occurred to the indexes for a to-many relationship. (Inherited from NSObject) |
DidChange(NSString, NSKeyValueSetMutationKind, NSSet) DidChange(NSString, NSKeyValueSetMutationKind, NSSet) | Inherited from NSObject |
DidChangeValue(String) DidChangeValue(String) |
Indicates that a change occurred on the specified key. (Inherited from NSObject) |
DidHintFocusMovement(UIFocusMovementHint) DidHintFocusMovement(UIFocusMovementHint) |
Called to tell the focused item in the UIView that the focus may change. (Inherited from UIView) |
DidUpdateFocus(UIFocusUpdateContext, UIFocusAnimationCoordinator) DidUpdateFocus(UIFocusUpdateContext, UIFocusAnimationCoordinator) |
Called after the UIView has either lost or received focus. (See also ShouldUpdateFocus(UIFocusUpdateContext).) (Inherited from UIView) |
DisplayLayer(CALayer) DisplayLayer(CALayer) | Inherited from UIView |
Dispose() Dispose() |
Releases the resources used by the NSObject object. (Inherited from NSObject) |
Dispose(Boolean) Dispose(Boolean) |
Releases the resources used by the UITextField object. |
DoesNotRecognizeSelector(Selector) DoesNotRecognizeSelector(Selector) |
Indicates that this object does not recognize the specified selector. (Inherited from NSObject) |
Draw(CGRect) Draw(CGRect) |
Draws the view within the passed-in rectangle. (Inherited from UIView) |
DrawLayer(CALayer, CGContext) DrawLayer(CALayer, CGContext) | Inherited from UIView |
DrawPlaceholder(CGRect) DrawPlaceholder(CGRect) |
Will draw the placeholder text in the provided rectangle. |
DrawRect(CGRect, UIViewPrintFormatter) DrawRect(CGRect, UIViewPrintFormatter) |
Developers should override this method if their appr draws the UIView contents. (Inherited from UIView) |
DrawText(CGRect) DrawText(CGRect) |
Will draw the text in the provided rectangle. |
DrawViewHierarchy(CGRect, Boolean) DrawViewHierarchy(CGRect, Boolean) |
Renders the complete view hierarchy visible on screen. (Inherited from UIView) |
EditingRect(CGRect) EditingRect(CGRect) |
Returns the rectangle to display the editable text. |
EncodeRestorableState(NSCoder) EncodeRestorableState(NSCoder) |
Application developers can override this method to store state associated with the view. (Inherited from UIView) |
EncodeTo(NSCoder) EncodeTo(NSCoder) |
Encodes the state of the object on the provided encoder (Inherited from UIView) |
EndFloatingCursor() EndFloatingCursor() |
Ends display of the floating cursor. |
EndTracking(UITouch, UIEvent) EndTracking(UITouch, UIEvent) |
Indicates that the last touch for the given event has completed, indicating that tracking should stop. (Inherited from UIControl) |
Equals(NSObject) Equals(NSObject) | Inherited from NSObject |
Equals(Object) Equals(Object) | Inherited from NSObject |
ExchangeSubview(nint, nint) ExchangeSubview(nint, nint) |
This method exchanges the indices of two UIViews within the Subviews array. (Inherited from UIView) |
ExerciseAmbiguityInLayout() ExerciseAmbiguityInLayout() |
Randomly changes the Frame within an ambiguous set of Auto Layout constraints. (Inherited from UIView) |
FrameForAlignmentRect(CGRect) FrameForAlignmentRect(CGRect) |
Returns the frame resulting from applying the |
GestureRecognizerShouldBegin(UIGestureRecognizer) GestureRecognizerShouldBegin(UIGestureRecognizer) |
Determines if the specified gesture recognizers should be allowed to track touch events. (Inherited from UIView) |
GetActions(NSObject, UIControlEvent) GetActions(NSObject, UIControlEvent) |
The actions associated with a target and control event. (Inherited from UIControl) |
GetAppearance(UITraitCollection) GetAppearance(UITraitCollection) |
Returns an appearance proxy for the specified |
GetAppearance(UITraitCollection, Type[]) GetAppearance(UITraitCollection, Type[]) |
Returns an appearance proxy for the specified |
GetAppearance<T>() GetAppearance<T>() |
Obtains the appearance proxy UITextField.UITextFieldAppearance for the subclass of UITextField. |
GetAppearance<T>(UITraitCollection) GetAppearance<T>(UITraitCollection) |
Obtains the appearance proxy UITextField.UITextFieldAppearance for the subclass of UITextField. |
GetAppearance<T>(UITraitCollection, Type[]) GetAppearance<T>(UITraitCollection, Type[]) |
Obtains the appearance proxy UITextField.UITextFieldAppearance for the subclass of UITextField that has the specified trait collection when the view is hosted in the specified hierarchy. |
GetBaseWritingDirection(UITextPosition, UITextStorageDirection) GetBaseWritingDirection(UITextPosition, UITextStorageDirection) |
Determines the writing direction from a position within the text. |
GetCaretRectForPosition(UITextPosition) GetCaretRectForPosition(UITextPosition) |
This method will return a rectangle that can be used for drawing the insertion caret. |
GetCharacterOffsetOfPosition(UITextPosition, UITextRange) GetCharacterOffsetOfPosition(UITextPosition, UITextRange) |
Returns the number of characters in some text between |
GetCharacterRange(UITextPosition, UITextLayoutDirection) GetCharacterRange(UITextPosition, UITextLayoutDirection) |
Returns a range that represents the distance from |
GetCharacterRangeAtPoint(CGPoint) GetCharacterRangeAtPoint(CGPoint) |
Returns the character or characters at the point specified. |
GetClosestPositionToPoint(CGPoint) GetClosestPositionToPoint(CGPoint) |
Returns the position that is closest to the point specified within the control. |
GetClosestPositionToPoint(CGPoint, UITextRange) GetClosestPositionToPoint(CGPoint, UITextRange) |
Gets the UITextPosition closest to , restricted to the range . |
GetConstraintsAffectingLayout(UILayoutConstraintAxis) GetConstraintsAffectingLayout(UILayoutConstraintAxis) |
Returns the array of NSLayoutConstraint that are affecting the layout of the UIView along the specified |
GetDictionaryOfValuesFromKeys(NSString[]) GetDictionaryOfValuesFromKeys(NSString[]) |
Retrieves the values of the specified keys. (Inherited from NSObject) |
GetEnumerator() GetEnumerator() |
Returns an enumerator that lists all of the subviews in this view (Inherited from UIView) |
GetFirstRectForRange(UITextRange) GetFirstRectForRange(UITextRange) |
Returns a rectangle that will enclose the first line of text in the |
GetFocusItems(CGRect) GetFocusItems(CGRect) |
Returns a list of all the child focus items within the specified rectangle. (Inherited from UIView) |
GetFrameForDictationResultPlaceholder(NSObject) GetFrameForDictationResultPlaceholder(NSObject) |
The frame in which the dictation results should be displayed. |
GetHashCode() GetHashCode() |
Generates a hash code for the current instance. (Inherited from NSObject) |
GetMethodForSelector(Selector) GetMethodForSelector(Selector) | Inherited from NSObject |
GetNativeField(String) GetNativeField(String) | Inherited from NSObject |
GetNativeHash() GetNativeHash() | Inherited from NSObject |
GetOffsetFromPosition(UITextPosition, UITextPosition) GetOffsetFromPosition(UITextPosition, UITextPosition) |
Returns the number of characters between two visible locations in a document. |
GetPosition(UITextPosition, nint) GetPosition(UITextPosition, nint) |
Returns a second position that is offset from the specified position. |
GetPosition(UITextPosition, UITextLayoutDirection, nint) GetPosition(UITextPosition, UITextLayoutDirection, nint) |
Returns a second position in a document the direction and |
GetPosition(UITextRange, nint) GetPosition(UITextRange, nint) |
Returns a position within a document relative to the start of |
GetPositionWithinRange(UITextRange, UITextLayoutDirection) GetPositionWithinRange(UITextRange, UITextLayoutDirection) |
Returns the furthest position possible in the visible text. |
GetSelectionRects(UITextRange) GetSelectionRects(UITextRange) |
An array of UITextSelectionRects that frame the |
GetTargetForAction(Selector, NSObject) GetTargetForAction(Selector, NSObject) |
Returns the object that responds to an action. (Inherited from UIResponder) |
GetTextRange(UITextPosition, UITextPosition) GetTextRange(UITextPosition, UITextPosition) |
Returns the text range between two positions in a document. |
GetTextStyling(UITextPosition, UITextStorageDirection) GetTextStyling(UITextPosition, UITextStorageDirection) |
Returns a NSDictionary of styling properties at the position and in the direction specified. |
HitTest(CGPoint, UIEvent) HitTest(CGPoint, UIEvent) |
The frontmost visible, interaction-enabled UIView containing . (Inherited from UIView) |
Init() Init() | Inherited from NSObject |
InitializeHandle(IntPtr) InitializeHandle(IntPtr) | Inherited from NSObject |
InitializeHandle(IntPtr, String) InitializeHandle(IntPtr, String) | Inherited from NSObject |
InsertDictationResult(NSArray) InsertDictationResult(NSArray) |
Used to select a UIDictationPhrase from a collection of possible phrases. |
InsertDictationResultPlaceholder() InsertDictationResultPlaceholder() |
When overridden, can be used to provide information for GetFrameForDictationResultPlaceholder(NSObject). |
InsertSubview(UIView, nint) InsertSubview(UIView, nint) |
Inserts the specified subview at the specified location as a subview of this view. (Inherited from UIView) |
InsertSubviewAbove(UIView, UIView) InsertSubviewAbove(UIView, UIView) |
Inserts the specified view above the siblingSubvie in the view hierarchy (Inherited from UIView) |
InsertSubviewBelow(UIView, UIView) InsertSubviewBelow(UIView, UIView) |
Inserts the specified view below the |
InsertText(String) InsertText(String) |
This method will insert text into the view at the position indicated by the cursor. |
InvalidateIntrinsicContentSize() InvalidateIntrinsicContentSize() |
Alerts the Auto Layout system that the intrinsic value of the UIView has changed. (Inherited from UIView) |
Invoke(Action, Double) Invoke(Action, Double) | Inherited from NSObject |
Invoke(Action, TimeSpan) Invoke(Action, TimeSpan) | Inherited from NSObject |
InvokeOnMainThread(Action) InvokeOnMainThread(Action) | Inherited from NSObject |
InvokeOnMainThread(Selector, NSObject) InvokeOnMainThread(Selector, NSObject) |
Invokes synchrously the specified code on the main UI thread. (Inherited from NSObject) |
IsDescendantOfView(UIView) IsDescendantOfView(UIView) |
Returns |
IsEqual(NSObject) IsEqual(NSObject) | Inherited from NSObject |
IsKindOfClass(Class) IsKindOfClass(Class) | Inherited from NSObject |
IsMemberOfClass(Class) IsMemberOfClass(Class) | Inherited from NSObject |
LayoutIfNeeded() LayoutIfNeeded() |
Lays out the subviews if needed. (Inherited from UIView) |
LayoutMarginsDidChange() LayoutMarginsDidChange() |
Lays out changed subviews (Inherited from UIView) |
LayoutSublayersOfLayer(CALayer) LayoutSublayersOfLayer(CALayer) |
Called to indicate that the object's Bounds has changed. (Inherited from UIView) |
LayoutSubviews() LayoutSubviews() |
Lays out subviews. (Inherited from UIView) |
LeftViewRect(CGRect) LeftViewRect(CGRect) |
Returns the rectangle in which the LeftView should be displayed. |
MakeTextWritingDirectionLeftToRight(NSObject) MakeTextWritingDirectionLeftToRight(NSObject) |
Sets the direction in which text is written to be left-to-right. (Inherited from UIResponder) |
MakeTextWritingDirectionRightToLeft(NSObject) MakeTextWritingDirectionRightToLeft(NSObject) |
Sets the direction in which text is written to be right-to-left. (Inherited from UIResponder) |
MarkDirty() MarkDirty() |
Promotes a regular peer object (IsDirectBinding is true) into a toggleref object. (Inherited from NSObject) |
MotionBegan(UIEventSubtype, UIEvent) MotionBegan(UIEventSubtype, UIEvent) |
Method invoked when a motion (a shake) has started. (Inherited from UIResponder) |
MotionCancelled(UIEventSubtype, UIEvent) MotionCancelled(UIEventSubtype, UIEvent) |
Method invoked if the operating system cancels a motion (shake) event. (Inherited from UIResponder) |
MotionEnded(UIEventSubtype, UIEvent) MotionEnded(UIEventSubtype, UIEvent) |
Method invoked when a motion (shake) has finished. (Inherited from UIResponder) |
MovedToSuperview() MovedToSuperview() |
Indicates the UIView has had its Superview property changed. (Inherited from UIView) |
MovedToWindow() MovedToWindow() |
Indicates the UIView has had its Window property changed. (Inherited from UIView) |
MutableCopy() MutableCopy() |
Creates a mutable copy of the specified NSObject. (Inherited from NSObject) |
NeedsUpdateConstraints() NeedsUpdateConstraints() |
Indicates that the Auto Layout constraints of the UIView need updating. (Inherited from UIView) |
ObserveValue(NSString, NSObject, NSDictionary, IntPtr) ObserveValue(NSString, NSObject, NSDictionary, IntPtr) |
Indicates that the value at the specified keyPath relative to this object has changed. (Inherited from NSObject) |
Paste(NSItemProvider[]) Paste(NSItemProvider[]) |
Pastes text from into the UITextField. |
Paste(NSObject) Paste(NSObject) |
Indicates a "Paste" editing operation. (Inherited from UIResponder) |
PerformSelector(Selector) PerformSelector(Selector) | Inherited from NSObject |
PerformSelector(Selector, NSObject) PerformSelector(Selector, NSObject) | Inherited from NSObject |
PerformSelector(Selector, NSObject, Double) PerformSelector(Selector, NSObject, Double) |
Invokes the selector on the current instance and if the |
PerformSelector(Selector, NSObject, Double, NSString[]) PerformSelector(Selector, NSObject, Double, NSString[]) | Inherited from NSObject |
PerformSelector(Selector, NSObject, NSObject) PerformSelector(Selector, NSObject, NSObject) | Inherited from NSObject |
PerformSelector(Selector, NSThread, NSObject, Boolean) PerformSelector(Selector, NSThread, NSObject, Boolean) | Inherited from NSObject |
PerformSelector(Selector, NSThread, NSObject, Boolean, NSString[]) PerformSelector(Selector, NSThread, NSObject, Boolean, NSString[]) | Inherited from NSObject |
PlaceholderRect(CGRect) PlaceholderRect(CGRect) |
This property represents the rectangle that is used to draw the Placeholder text. |
PointInside(CGPoint, UIEvent) PointInside(CGPoint, UIEvent) |
Whether is inside |
PrepareForInterfaceBuilder() PrepareForInterfaceBuilder() | Inherited from NSObject |
PressesBegan(NSSet<UIPress>, UIPressesEvent) PressesBegan(NSSet<UIPress>, UIPressesEvent) |
Indicates that a physical button has been pressed on a remote or game controller. (Inherited from UIResponder) |
PressesCancelled(NSSet<UIPress>, UIPressesEvent) PressesCancelled(NSSet<UIPress>, UIPressesEvent) |
Indicates a physical button-press event has been cancelled due to a system event. (Inherited from UIResponder) |
PressesChanged(NSSet<UIPress>, UIPressesEvent) PressesChanged(NSSet<UIPress>, UIPressesEvent) |
Indicates that the Force value of the |
PressesEnded(NSSet<UIPress>, UIPressesEvent) PressesEnded(NSSet<UIPress>, UIPressesEvent) |
Indicates the ending of a press of a physical button on a remote or game controller. (Inherited from UIResponder) |
ReloadInputViews() ReloadInputViews() |
Updates custom input and accessory views when this object is the first responder. (Inherited from UIResponder) |
RemoteControlReceived(UIEvent) RemoteControlReceived(UIEvent) |
Indicates that a remote-control event was received. (Inherited from UIResponder) |
RemoveConstraint(NSLayoutConstraint) RemoveConstraint(NSLayoutConstraint) |
Removes an Auto Layout constraint from the UIView's Constraints. (Inherited from UIView) |
RemoveConstraints(NSLayoutConstraint[]) RemoveConstraints(NSLayoutConstraint[]) |
Removes multiple Auto Layout constraints from the UIView's Constraints. (Inherited from UIView) |
RemoveDictationResultPlaceholder(NSObject, Boolean) RemoveDictationResultPlaceholder(NSObject, Boolean) |
With InsertDictationResultPlaceholder(), allows the app developer to customize the location of the placeholder for dictation results. |
RemoveFromSuperview() RemoveFromSuperview() |
Detaches the UIView from its Superview. (Inherited from UIView) |
RemoveGestureRecognizer(UIGestureRecognizer) RemoveGestureRecognizer(UIGestureRecognizer) |
Removes a gesture recognizer from the UIView's GestureRecognizers. (Inherited from UIView) |
RemoveInteraction(IUIInteraction) RemoveInteraction(IUIInteraction) |
Removes the interaction from the view. (Inherited from UIView) |
RemoveLayoutGuide(UILayoutGuide) RemoveLayoutGuide(UILayoutGuide) |
Removes |
RemoveMotionEffect(UIMotionEffect) RemoveMotionEffect(UIMotionEffect) |
Removes the specified motion effect to the view. (Inherited from UIView) |
RemoveObserver(NSObject, NSString) RemoveObserver(NSObject, NSString) |
Stops the specified observer from receiving further notifications of changed values for the specified keyPath. (Inherited from NSObject) |
RemoveObserver(NSObject, NSString, IntPtr) RemoveObserver(NSObject, NSString, IntPtr) |
Stops the specified observer from receiving further notifications of changed values for the specified keyPath and context. (Inherited from NSObject) |
RemoveObserver(NSObject, String) RemoveObserver(NSObject, String) |
Stops the specified observer from receiving further notifications of changed values for the specified keyPath. (Inherited from NSObject) |
RemoveObserver(NSObject, String, IntPtr) RemoveObserver(NSObject, String, IntPtr) |
Stops the specified observer from receiving further notifications of changed values for the specified keyPath and context. (Inherited from NSObject) |
RemoveTarget(EventHandler, UIControlEvent) RemoveTarget(EventHandler, UIControlEvent) |
Removes a previously installed event handler for the specified event list. (Inherited from UIControl) |
RemoveTarget(NSObject, Selector, UIControlEvent) RemoveTarget(NSObject, Selector, UIControlEvent) |
Removes a target and action for a particular event or events. (Inherited from UIControl) |
ReplaceText(UITextRange, String) ReplaceText(UITextRange, String) |
Replaces text in the specified range with the text provided. |
ResignFirstResponder() ResignFirstResponder() |
Called when this UIResponder has been asked to resign its first responder status. (Inherited from UIResponder) |
ResizableSnapshotView(CGRect, Boolean, UIEdgeInsets) ResizableSnapshotView(CGRect, Boolean, UIEdgeInsets) |
Efficiently creates a rendering of |
RespondsToSelector(Selector) RespondsToSelector(Selector) |
Whether this object recognizes the specified selector. (Inherited from NSObject) |
RestoreUserActivityState(NSUserActivity) RestoreUserActivityState(NSUserActivity) |
Restores the state that is necessary for continuance of the specified user activity. (Inherited from UIResponder) |
RightViewRect(CGRect) RightViewRect(CGRect) |
This method will return the location of the RightView. |
SafeAreaInsetsDidChange() SafeAreaInsetsDidChange() |
Method that is called when the safe area changes. (Inherited from UIView) |
Select(NSObject) Select(NSObject) |
Indicates a "Select" editing operation.|b (Inherited from UIResponder) |
SelectAll(NSObject) SelectAll(NSObject) |
Indicates a "Select All" editing operation. (Inherited from UIResponder) |
SendAction(Selector, NSObject, UIEvent) SendAction(Selector, NSObject, UIEvent) |
Indicates that an event has occurred and sends an action message to the application for dispatch to a target. (Inherited from UIControl) |
SendActionForControlEvents(UIControlEvent) SendActionForControlEvents(UIControlEvent) |
Sends action messages for the specified control events. (Inherited from UIControl) |
SendSubviewToBack(UIView) SendSubviewToBack(UIView) |
Moves a UIView so that it appears behind all its siblings. (Inherited from UIView) |
SetBaseWritingDirectionforRange(UITextWritingDirection, UITextRange) SetBaseWritingDirectionforRange(UITextWritingDirection, UITextRange) |
Sets the writing direction for a given range of text. |
SetContentCompressionResistancePriority(Single, UILayoutConstraintAxis) SetContentCompressionResistancePriority(Single, UILayoutConstraintAxis) |
Sets the resistance to compression below the UIView's IntrinsicContentSize. (Inherited from UIView) |
SetContentHuggingPriority(Single, UILayoutConstraintAxis) SetContentHuggingPriority(Single, UILayoutConstraintAxis) |
Sets the resistance to expansion beyond the UIView's IntrinsicContentSize. (Inherited from UIView) |
SetMarkedText(String, NSRange) SetMarkedText(String, NSRange) |
This method will replace any existing marked text the specified text and then selects it. |
SetNativeField(String, NSObject) SetNativeField(String, NSObject) | Inherited from NSObject |
SetNeedsDisplay() SetNeedsDisplay() |
Marks the view dirty and queues a redraw operation on it. (Inherited from UIView) |
SetNeedsDisplayInRect(CGRect) SetNeedsDisplayInRect(CGRect) |
Marks a region of the view as dirty and queues a redraw operation on that region. (Inherited from UIView) |
SetNeedsFocusUpdate() SetNeedsFocusUpdate() |
When |
SetNeedsLayout() SetNeedsLayout() |
Sets whether subviews need to be rearranged before displaying. (Inherited from UIView) |
SetNeedsUpdateConstraints() SetNeedsUpdateConstraints() |
Indicates to the Auto Layout system that it must call UpdateConstraints(). (Inherited from UIView) |
SetNilValueForKey(NSString) SetNilValueForKey(NSString) |
Sets the value of the specified key to null. (Inherited from NSObject) |
SetValueForKey(NSObject, NSString) SetValueForKey(NSObject, NSString) |
Sets the value of the property specified by the key to the specified value. (Inherited from NSObject) |
SetValueForKeyPath(IntPtr, NSString) SetValueForKeyPath(IntPtr, NSString) |
A constructor used when creating managed representations of unmanaged objects; Called by the runtime. (Inherited from NSObject) |
SetValueForKeyPath(NSObject, NSString) SetValueForKeyPath(NSObject, NSString) |
Sets the value of a property that can be reached using a keypath. (Inherited from NSObject) |
SetValueForUndefinedKey(NSObject, NSString) SetValueForUndefinedKey(NSObject, NSString) |
Indicates an attempt to write a value to an undefined key. If not overridden, raises an NSUndefinedKeyException. (Inherited from NSObject) |
SetValuesForKeysWithDictionary(NSDictionary) SetValuesForKeysWithDictionary(NSDictionary) |
Sets the values of this NSObject to those in the specified dictionary. (Inherited from NSObject) |
ShouldChangeTextInRange(UITextRange, String) ShouldChangeTextInRange(UITextRange, String) |
Allows the app developer to programmatically reject replacement text. |
ShouldUpdateFocus(UIFocusUpdateContext) ShouldUpdateFocus(UIFocusUpdateContext) |
Called prior to the UIView either losing or receiving focus. If either focus environment returns |
SizeThatFits(CGSize) SizeThatFits(CGSize) |
Returns the SizeF that best fits |
SizeToFit() SizeToFit() |
Moves and resizes the UIView so that it tightly encloses its Subviews (Inherited from UIView) |
SnapshotView(Boolean) SnapshotView(Boolean) |
Creates a UIView that contains a snapshot image of the current view's contents. (Inherited from UIView) |
SubviewAdded(UIView) SubviewAdded(UIView) |
Tells the view when subviews are added. (Inherited from UIView) |
SystemLayoutSizeFittingSize(CGSize) SystemLayoutSizeFittingSize(CGSize) |
Calculates the smallest or largest size that this UIView can have that satisfies its Auto Layout constraints. (Inherited from UIView) |
SystemLayoutSizeFittingSize(CGSize, Single, Single) SystemLayoutSizeFittingSize(CGSize, Single, Single) |
Returns the optimal size for |
TextInRange(UITextRange) TextInRange(UITextRange) |
A substring of text in the |
TextRect(CGRect) TextRect(CGRect) |
This method return the computed rectangle for drawing the text. |
TintColorDidChange() TintColorDidChange() |
Called when the TintColor changes, such as when a UIActionSheet is displayed. (Inherited from UIView) |
ToggleBoldface(NSObject) ToggleBoldface(NSObject) |
Toggles the use of a bold font. (Inherited from UIResponder) |
ToggleItalics(NSObject) ToggleItalics(NSObject) |
Toggles the use of an italic font. (Inherited from UIResponder) |
ToggleUnderline(NSObject) ToggleUnderline(NSObject) |
Toggles the use of underlining. (Inherited from UIResponder) |
ToString() ToString() |
Returns a string representation of the value of the current instance. (Inherited from NSObject) |
TouchesBegan(NSSet, UIEvent) TouchesBegan(NSSet, UIEvent) |
Sent when one or more fingers touches the screen. (Inherited from UIResponder) |
TouchesCancelled(NSSet, UIEvent) TouchesCancelled(NSSet, UIEvent) |
Sent when the touch processing has been cancelled. (Inherited from UIResponder) |
TouchesEnded(NSSet, UIEvent) TouchesEnded(NSSet, UIEvent) |
Sent when one or more fingers are lifted from the screen. (Inherited from UIResponder) |
TouchesEstimatedPropertiesUpdated(NSSet) TouchesEstimatedPropertiesUpdated(NSSet) |
Called when the estimated properties of |
TouchesMoved(NSSet, UIEvent) TouchesMoved(NSSet, UIEvent) |
Sent when one or more fingers move on the screen. (Inherited from UIResponder) |
TraitCollectionDidChange(UITraitCollection) TraitCollectionDidChange(UITraitCollection) |
Defines previous trait collection. (Inherited from UIView) |
UnmarkText() UnmarkText() |
Any currently marked text is unmarked. |
UpdateConstraints() UpdateConstraints() |
Updates the Auto Layout constraints for the UIView. (Inherited from UIView) |
UpdateConstraintsIfNeeded() UpdateConstraintsIfNeeded() |
Updates the constraints of the UIView and its Subviews. (Inherited from UIView) |
UpdateFloatingCursor(CGPoint) UpdateFloatingCursor(CGPoint) |
Moves the floating curor to the specified |
UpdateFocusIfNeeded() UpdateFocusIfNeeded() |
If any focus environment has a pending update, this method forces an immediate focus update. Unlike SetNeedsFocusUpdate(), this method may be called by any UIView, whether it currently contains focus or not. (Inherited from UIView) |
UpdateUserActivityState(NSUserActivity) UpdateUserActivityState(NSUserActivity) |
Updates a given user activity state. (Inherited from UIResponder) |
ValueForKey(NSString) ValueForKey(NSString) |
Returns the value of the property associated with the specified key. (Inherited from NSObject) |
ValueForKeyPath(NSString) ValueForKeyPath(NSString) |
Returns the value of a property that can be reached using a keypath. (Inherited from NSObject) |
ValueForUndefinedKey(NSString) ValueForUndefinedKey(NSString) |
Indicates an attempt to read a value of an undefined key. If not overridden, raises an NSUndefinedKeyException. (Inherited from NSObject) |
ViewWithTag(nint) ViewWithTag(nint) |
Returns the UIView identified by the |
WillChange(NSKeyValueChange, NSIndexSet, NSString) WillChange(NSKeyValueChange, NSIndexSet, NSString) |
Indicates that the values of the specified indices in the specified key are about to change. (Inherited from NSObject) |
WillChange(NSString, NSKeyValueSetMutationKind, NSSet) WillChange(NSString, NSKeyValueSetMutationKind, NSSet) | Inherited from NSObject |
WillChangeValue(String) WillChangeValue(String) |
Indicates that the value of the specified key is about to change. (Inherited from NSObject) |
WillDrawLayer(CALayer) WillDrawLayer(CALayer) |
Called shortly before the is drawn. (Inherited from UIView) |
WillMoveToSuperview(UIView) WillMoveToSuperview(UIView) |
Called before the Superview changes. (Inherited from UIView) |
WillMoveToWindow(UIWindow) WillMoveToWindow(UIWindow) |
This method is called by the runtime when assigning a new UIWindow to the UIView's view hierarcy. This method will be called on all UIViews in the hierarchy, not just the top-level UIView. (Inherited from UIView) |
WillRemoveSubview(UIView) WillRemoveSubview(UIView) |
Called prior to the removal of a subview. (Inherited from UIView) |
Events
AllEditingEvents AllEditingEvents |
Raised on any editing events produced. (Inherited from UIControl) |
AllEvents AllEvents |
Raised for any event produced. (Inherited from UIControl) |
AllTouchEvents AllTouchEvents |
Raised for any touch event produced. (Inherited from UIControl) |
EditingChanged EditingChanged |
The component changed. (Inherited from UIControl) |
EditingDidBegin EditingDidBegin |
Raised when editing has started. (Inherited from UIControl) |
EditingDidEnd EditingDidEnd |
Raised when editing ended. (Inherited from UIControl) |
EditingDidEndOnExit EditingDidEndOnExit |
Raised on didEndOnexit (Inherited from UIControl) |
Ended Ended |
Raised when editing has ended. |
EndedWithReason EndedWithReason |
Event that is raised when editing ends. |
PrimaryActionTriggered PrimaryActionTriggered |
Event associated with the most-likely behavior of the UIControl. (Inherited from UIControl) |
Started Started |
Raised when editing has started. |
TouchCancel TouchCancel |
The touch event has been canceled. (Inherited from UIControl) |
TouchDown TouchDown |
Raised when the user touches the control. (Inherited from UIControl) |
TouchDownRepeat TouchDownRepeat |
Raised when the user double taps the control. (Inherited from UIControl) |
TouchDragEnter TouchDragEnter |
Raised on TouchDragEnter events. (Inherited from UIControl) |
TouchDragExit TouchDragExit |
Raised on TouchDragExit events. (Inherited from UIControl) |
TouchDragInside TouchDragInside |
Raised oN TouchDragInside events. (Inherited from UIControl) |
TouchDragOutside TouchDragOutside |
Raised on TouchDragOutside events. (Inherited from UIControl) |
TouchUpInside TouchUpInside |
Raised on TouchUpInside events. (Inherited from UIControl) |
TouchUpOutside TouchUpOutside |
Raised on TouchUpOutside events. (Inherited from UIControl) |
ValueChanged ValueChanged |
The value has changed. (Inherited from UIControl) |
Extension Methods
Applies to
See also
Feedback
We'd love to hear your thoughts. Choose the type you'd like to provide:
Our feedback system is built on GitHub Issues. Read more on our blog.
Loading feedback...