The properties of UIKit.UIView are listed below. For a list of all members, see the UIView Members list.
See Also: Inherited members from UIKit.UIResponder
| AccessibilityActivationPoint | CoreGraphics.CGPoint. The screen coordinates for the accessibility element. | |
| AccessibilityElementsHidden | bool. Whether the view's accessibility elements are visible. | |
| AccessibilityFrame | CoreGraphics.CGRect. The Frame of the accessibility element, in screen coordinates. | |
| AccessibilityHint | string. A brief description of the action performed by the accessibility element. | |
| AccessibilityIdentifier | string. Uniquely identifies this for the purposes of accessibility. | |
| AccessibilityLabel | string. A localized identifier for the accessibility element. | |
| AccessibilityLanguage | string. The BCP 47 language tag of the language used to speak the accessibility element's components. | |
| AccessibilityNavigationStyle | UIAccessibilityNavigationStyle. Gets or sets the navigation style. | |
| AccessibilityPath | UIBezierPath. Allows the accessibility element to be non-rectangular. | |
| AccessibilityTraits | UIAccessibilityTrait. A bitmask of the UIKit.UIAccessibilityTraits of this. | |
| AccessibilityValue | string. The value of the accessibility element. | |
| AccessibilityViewIsModal | bool. Whether Voice Over should ignore sibling elements. | |
| [read-only] | AlignmentRectInsets | UIEdgeInsets. Adjustments to the UIView.Frame for use with Auto Layout. |
| Alpha | nfloat. Controls the transparency (alpha) value for the view. | |
static | AnimationsEnabled | bool. Specifies whether animations are displayed or not. |
| [read-only] static | AnnouncementDidFinishNotification | Foundation.NSString. Notification constant for AnnouncementDidFinish |
| [read-only] static | AnnouncementNotification | int. An accessibility notification that an announcement will happen. |
| [read-only] static | Appearance | UIView.UIViewAppearance. Strongly-typed property that returns the UIAppearance class for this class. |
| AutoresizingMask | UIViewAutoresizing. A bitmask that specifies how the receiver should resize itself when it's super-view's bounds change. | |
| AutosizesSubviews | bool. Specifies whether the receiver should automatically resize its UIView.Subviews when the receiver's UIView.Bounds change. | |
| BackgroundColor | UIColor. Sets the background color of the UIKit.UIView. | |
| [read-only] static | BoldTextStatusDidChangeNotification | Foundation.NSString. Notification constant for BoldTextStatusDidChange |
| Bounds | CoreGraphics.CGRect. The usable frame of the view, specified using the view's own coordinate system. | |
| Center | CoreGraphics.CGPoint. The center of the view, in the container coordinate space. | |
| [read-only] override | ClassHandle | IntPtr. The handle for this class. |
| ClearsContextBeforeDrawing | bool. Specifies that the drawing buffer be erased prior to calling UIView.DrawRect | |
| ClipsToBounds | bool. Specifies whether the UIView.Subviews are confined to the UIView.Bounds of the receiver. | |
| [read-only] static | ClosedCaptioningStatusDidChangeNotification | Foundation.NSString. Notification constant for ClosedCaptioningStatusDidChange |
| [read-only] | Constraints | NSLayoutConstraint[]. The constraints used by Auto Layout on this UIKit.UIView. |
| ContentMode | UIViewContentMode. Controls how the cached bitmap of a view must be rendered when the view's bounds change. | |
| ContentScaleFactor | nfloat. The number of device pixels per logical coordinate point. | |
| ContentStretch | CoreGraphics.CGRect. Defines an area of the view that is intended to be stretchable. | |
| [read-only] static | DarkerSystemColorsStatusDidChangeNotification | Foundation.NSString. Notification constant for DarkerSystemColorsStatusDidChange |
| ExclusiveTouch | bool. Restricts the event delivery to this view. | |
| Frame | CoreGraphics.CGRect. Coordinates of the view relative to its container. | |
| GestureRecognizers | UIGestureRecognizer[]. The array of UIKit.UIGestureRecognizers for this UIKit.UIView. | |
| [read-only] static | GrayscaleStatusDidChangeNotification | Foundation.NSString. Notification constant for GrayscaleStatusDidChange |
| [read-only] static | GuidedAccessStatusDidChangeNotification | Foundation.NSString. Notification constant for GuidedAccessStatusDidChange |
| [read-only] | HasAmbiguousLayout | bool. Returns true if the Auto Layout for this UIKit.UIView is ambiguous. |
| Hidden | bool. Specifies whether the UIKit.UIView displays or not. | |
| [read-only] | IntrinsicContentSize | CoreGraphics.CGSize. The size of the intrinsic content of the UIKit.UIView. |
| [read-only] static | InvertColorsStatusDidChangeNotification | Foundation.NSString. Notification constant for InvertColorsStatusDidChange |
| IsAccessibilityElement | bool. Whether this is an accessibility element. | |
| [read-only] | Layer | CoreAnimation.CALayer. The Core Animation layer used for rendering. |
| [read-only] static | LayoutChangedNotification | int. An accessibility notification indicating that the layout has changed. |
| LayoutMargins | UIEdgeInsets. Lays out margins. | |
| MaskView | UIView. Returns mask view. | |
| [read-only] static | MonoAudioStatusDidChangeNotification | Foundation.NSString. Notification constant for MonoAudioStatusDidChange |
| MotionEffects | UIMotionEffect[]. Current set of motion effects on this view. | |
| MultipleTouchEnabled | bool. Controls whether the UIView can handle multitouch events. | |
| [read-only] static | NoIntrinsicMetric | nfloat. Represents the value associated with the constant UIViewNoIntrinsicMetric |
| [read-only] static | NotificationSwitchControlIdentifier | Foundation.NSString. Notification constant for NotificationSwitchContr |
| Opaque | bool. Determines whether the view is opaque or not. | |
| [read-only] static | PageScrolledNotification | int. An accessibility notification indicating that the page has scrolled. |
| [read-only] static | PauseAssistiveTechnologyNotification | int. Pauses assistive technology notifications. |
| PreservesSuperviewLayoutMargins | bool. Preserves layout margins for superview. | |
| [read-only] static | ReduceMotionStatusDidChangeNotification | Foundation.NSString. Notification constant for ReduceMotionStatusDidChange |
| [read-only] static | ReduceTransparencyStatusDidChangeNotification | Foundation.NSString. Notification constant for ReduceTransparencyStatusDidChange |
| RestorationIdentifier | string. If not null, indicates that the UIKit.UIView supports state preservation and restoration. | |
| [read-only] static | ResumeAssistiveTechnologyNotification | int. Resumes assistive technology notifications. |
| [read-only] static | ScreenChangedNotification | int. An accessibility notification that the screen has changed. |
| ShouldGroupAccessibilityChildren | bool. Whether the UIKit.UIView's children should be grouped for the purposes of voice-over, regardless of their position on the screen. | |
| [read-only] static | SpeakScreenStatusDidChangeNotification | Foundation.NSString. Notification constant for SpeakScreenStatusDidChange |
| [read-only] static | SpeakSelectionStatusDidChangeNotification | Foundation.NSString. Notification constant for SpeakSelectionStatusDidChange |
| [read-only] static | SpeechAttributeLanguage | Foundation.NSString. Retrieves the language used during voice-over. |
| [read-only] static | SpeechAttributePitch | Foundation.NSString. Retrieves the pitch used by voice-over. |
| [read-only] static | SpeechAttributePunctuation | Foundation.NSString. Whether punctuation is being pronounced by voice-over. |
| [read-only] | Subviews | UIView[]. An array of UIKit.UIViews that are contained within this UIKit.UIView. |
| [read-only] | Superview | UIView. The UIKit.UIView, if any, that contains this UIKit.UIView in its UIView.Subviews. |
| [read-only] static | SwitchControlStatusDidChangeNotification | Foundation.NSString. Notification constant for SwitchControlStatusDidChange |
| Tag | nint. An integer that can be used to identify a specific UIKit.UIView instance. | |
| TintAdjustmentMode | UIViewTintAdjustmentMode. The tint adjustment applied to this UIKit.UIView or one of its parent views. | |
| TintColor | UIColor. A highlight color which should be used to indicate interactive controls. | |
| [read-only] static | TraitAdjustable | long. An accessibility trait indicating that the underlying value can be adjusted continuously, as with a slider. |
| [read-only] static | TraitAllowsDirectInteraction | long. An accessibility trait indicating that the user can interact directly with the UIKit.UIView. |
| [read-only] static | TraitButton | long. An accessibility trait indicating button-like behavior. |
| [read-only] static | TraitCausesPageTurn | long. An accessibility trait indicating that the UIKit.UIView causes a page turn after voice over completes. |
| [read-only] | TraitCollection | UITraitCollection. Returns a trait collection. |
| [read-only] static | TraitHeader | long. An accessibility trait indicating that the UIKit.UIView is a divider between content sections. |
| [read-only] static | TraitImage | long. An accessibility trait indicating the view should be treated as an image. |
| [read-only] static | TraitKeyboardKey | long. An accessibility trait indicating that the UIKit.UIView should be treated as a keyboard key. |
| [read-only] static | TraitLink | long. An accessibility trait indicating that the UIKit.UIView should be treated as a hyperlink. |
| [read-only] static | TraitNone | long. Indicates that the UIKit.UIView has no accessibility traits. |
| [read-only] static | TraitNotEnabled | long. An accessibility trait indicating that the UIKit.UIView is disabled and does not allow user interaction. |
| [read-only] static | TraitPlaysSound | long. An accessibility trait indicating the accessibility element should play its sound when the UIKit.UIView is activated. |
| [read-only] static | TraitSearchField | long. An accessibility trait indicating that the UIKit.UIView is a search field. |
| [read-only] static | TraitSelected | long. An accessibility trait indicating that the UIKit.UIView is currently selected. |
| [read-only] static | TraitStartsMediaSession | long. An accessibility trait that starts a media session when the UIKit.UIView is activated. |
| [read-only] static | TraitStaticText | long. An accessibility trait indicating that the UIKit.UIView contains static text. |
| [read-only] static | TraitSummaryElement | long. An accessibility trait indicating that the UIKit.UIView contains summary information. |
| [read-only] static | TraitUpdatesFrequently | long. An accessibility trait indicating that the UIKit.UIView updates frequently. |
| Transform | CoreGraphics.CGAffineTransform. The transform of the UIKit.UIView, relative to the center of its bounds. | |
| TranslatesAutoresizingMaskIntoConstraints | bool. Specifies whether the autoresizing mask should be translated into constraints for Auto Layout. | |
| [read-only] static | UILayoutFittingCompressedSize | CoreGraphics.CGSize. Represents the value associated with the constant UILayoutFittingCompressedSize |
| [read-only] static | UILayoutFittingExpandedSize | CoreGraphics.CGSize. Represents the value associated with the constant UILayoutFittingExpandedSize |
| UserInteractionEnabled | bool. Determines whether input events are processed by this view. | |
| [read-only] | ViewForBaselineLayout | UIView. Returns the UIKit.UIView upon which baseline constraints should be applied. |
| [read-only] | ViewPrintFormatter | UIViewPrintFormatter. Returns a UIKit.UIViewPrintFormatter appropriate for the UIKit.UIView. |
| [read-only] static | VoiceOverStatusChanged | Foundation.NSString. An accessibility notification indicating that the status of voice-over has changed. |
| [read-only] | Window | UIWindow. The UIKit.UIWindow of the UIKit.UIView. |