MonoTouch.UIKit.UIView Members

The members of MonoTouch.UIKit.UIView are listed below.

See Also: Inherited members from MonoTouch.UIKit.UIResponder

Public Constructors

Default constructor that initializes a new instance of this class with no parameters.
A constructor that initializes the object from the data stored in the unarchiver object.
Constructor to call on derived classes to skip initialization and merely allocate the object.
Initializes the UIView with the specified frame.
A constructor used when creating managed representations of unmanaged objects; Called by the runtime.

Public Properties

AccessibilityActivationPointSystem.Drawing.PointF. The screen coordinates for the accessibility element.
AccessibilityElementsHiddenbool. Whether the view's accessibility elements are visible.
AccessibilityFrameSystem.Drawing.RectangleF. The Frame of the accessibility element, in screen coordinates.
AccessibilityHintstring. A brief description of the action performed by the accessibility element.
AccessibilityIdentifierstring. Uniquely identifies this for the purposes of accessibility.
AccessibilityLabelstring. A localized identifier for the accessibility element.
AccessibilityLanguagestring. The BCP 47 language tag of the language used to speak the accessibility element's components.
AccessibilityNavigationStyleUIAccessibilityNavigationStyle. Gets or sets the navigation style.
AccessibilityPathUIBezierPath. Allows the accessibility element to be non-rectangular.
AccessibilityTraitsUIAccessibilityTrait. A bitmask of the MonoTouch.UIKit.UIAccessibilityTraits of this.
AccessibilityValuestring. The value of the accessibility element.
AccessibilityViewIsModalbool. Whether Voice Over should ignore sibling elements.
[read-only]
AlignmentRectInsetsUIEdgeInsets. Adjustments to the UIView.Frame for use with Auto Layout.
Alphafloat. Controls the transparency (alpha) value for the view.
static
AnimationsEnabledbool. Specifies whether animations are displayed or not.
[read-only]
static
AnnouncementDidFinishNotificationMonoTouch.Foundation.NSString. Notification constant for AnnouncementDidFinish
[read-only]
static
AnnouncementNotificationint. An accessibility notification that an announcement will happen.
[read-only]
static
AppearanceUIView.UIViewAppearance. Strongly-typed property that returns the UIAppearance class for this class.
AutoresizingMaskUIViewAutoresizing. A bitmask that specifies how the receiver should resize itself when it's super-view's bounds change.
AutosizesSubviewsbool. Specifies whether the receiver should automatically resize its UIView.Subviews when the receiver's UIView.Bounds change.
BackgroundColorUIColor. Sets the background color of the MonoTouch.UIKit.UIView.
[read-only]
static
BoldTextStatusDidChangeNotificationMonoTouch.Foundation.NSString. Notification constant for BoldTextStatusDidChange
BoundsSystem.Drawing.RectangleF. The usable frame of the view, specified using the view's own coordinate system.
CenterSystem.Drawing.PointF. The center of the view, in the container coordinate space.
[read-only]
override
ClassHandleIntPtr. The handle for this class.
ClearsContextBeforeDrawingbool. Specifies that the drawing buffer be erased prior to calling UIView.DrawRect
ClipsToBoundsbool. Specifies whether the UIView.Subviews are confined to the UIView.Bounds of the receiver.
[read-only]
static
ClosedCaptioningStatusDidChangeNotificationMonoTouch.Foundation.NSString. Notification constant for ClosedCaptioningStatusDidChange
[read-only]
ConstraintsNSLayoutConstraint[]. The constraints used by Auto Layout on this MonoTouch.UIKit.UIView.
ContentModeUIViewContentMode. Controls how the cached bitmap of a view must be rendered when the view's bounds change.
ContentScaleFactorfloat. The number of device pixels per logical coordinate point.
ContentStretchSystem.Drawing.RectangleF. Defines an area of the view that is intended to be stretchable.
[read-only]
static
DarkerSystemColorsStatusDidChangeNotificationMonoTouch.Foundation.NSString. Notification constant for DarkerSystemColorsStatusDidChange
[read-only]
EnableInputClicksWhenVisiblebool. Specifies whether input "clicks" should play.
ExclusiveTouchbool. Restricts the event delivery to this view.
FrameSystem.Drawing.RectangleF. Coordinates of the view relative to its container.
GestureRecognizersUIGestureRecognizer[]. The array of MonoTouch.UIKit.UIGestureRecognizers for this MonoTouch.UIKit.UIView.
[read-only]
static
GrayscaleStatusDidChangeNotificationMonoTouch.Foundation.NSString. Notification constant for GrayscaleStatusDidChange
[read-only]
static
GuidedAccessStatusDidChangeNotificationMonoTouch.Foundation.NSString. Notification constant for GuidedAccessStatusDidChange
[read-only]
HasAmbiguousLayoutbool. Returns true if the Auto Layout for this MonoTouch.UIKit.UIView is ambiguous.
Hiddenbool. Specifies whether the MonoTouch.UIKit.UIView displays or not.
[read-only]
IntrinsicContentSizeSystem.Drawing.SizeF. The size of the intrinsic content of the MonoTouch.UIKit.UIView.
[read-only]
static
InvertColorsStatusDidChangeNotificationMonoTouch.Foundation.NSString. Notification constant for InvertColorsStatusDidChange
IsAccessibilityElementbool. Whether this is an accessibility element.
[read-only]
LayerMonoTouch.CoreAnimation.CALayer. The Core Animation layer used for rendering.
[read-only]
static
LayoutChangedNotificationint. An accessibility notification indicating that the layout has changed.
LayoutMarginsUIEdgeInsets. Lays out margins.
MaskViewUIView. Returns mask view.
[read-only]
static
MonoAudioStatusDidChangeNotificationMonoTouch.Foundation.NSString. Notification constant for MonoAudioStatusDidChange
MotionEffectsUIMotionEffect[]. Current set of motion effects on this view.
MultipleTouchEnabledbool. Controls whether the UIView can handle multitouch events.
[read-only]
static
NoIntrinsicMetricfloat. Represents the value associated with the constant UIViewNoIntrinsicMetric
[read-only]
static
NotificationSwitchControlIdentifierMonoTouch.Foundation.NSString. Notification constant for NotificationSwitchContr
Opaquebool. Determines whether the view is opaque or not.
[read-only]
static
PageScrolledNotificationint. An accessibility notification indicating that the page has scrolled.
[read-only]
static
PauseAssistiveTechnologyNotificationint. Pauses assistive technology notifications.
PreservesSuperviewLayoutMarginsbool. Preserves layout margins for superview.
[read-only]
static
ReduceMotionStatusDidChangeNotificationMonoTouch.Foundation.NSString. Notification constant for ReduceMotionStatusDidChange
[read-only]
static
ReduceTransparencyStatusDidChangeNotificationMonoTouch.Foundation.NSString. Notification constant for ReduceTransparencyStatusDidChange
RestorationIdentifierstring. If not null, indicates that the MonoTouch.UIKit.UIView supports state preservation and restoration.
[read-only]
static
ResumeAssistiveTechnologyNotificationint. Resumes assistive technology notifications.
[read-only]
static
ScreenChangedNotificationint. An accessibility notification that the screen has changed.
ShouldGroupAccessibilityChildrenbool. Whether the MonoTouch.UIKit.UIView's children should be grouped for the purposes of voice-over, regardless of their position on the screen.
[read-only]
static
SpeakScreenStatusDidChangeNotificationMonoTouch.Foundation.NSString. Notification constant for SpeakScreenStatusDidChange
[read-only]
static
SpeakSelectionStatusDidChangeNotificationMonoTouch.Foundation.NSString. Notification constant for SpeakSelectionStatusDidChange
[read-only]
static
SpeechAttributeLanguageMonoTouch.Foundation.NSString. Retrieves the language used during voice-over.
[read-only]
static
SpeechAttributePitchMonoTouch.Foundation.NSString. Retrieves the pitch used by voice-over.
[read-only]
static
SpeechAttributePunctuationMonoTouch.Foundation.NSString. Whether punctuation is being pronounced by voice-over.
[read-only]
SubviewsUIView[]. An array of MonoTouch.UIKit.UIViews that are contained within this MonoTouch.UIKit.UIView.
[read-only]
SuperviewUIView. The MonoTouch.UIKit.UIView, if any, that contains this MonoTouch.UIKit.UIView in its UIView.Subviews.
[read-only]
static
SwitchControlStatusDidChangeNotificationMonoTouch.Foundation.NSString. Notification constant for SwitchControlStatusDidChange
Tagint. An integer that can be used to identify a specific MonoTouch.UIKit.UIView instance.
TintAdjustmentModeUIViewTintAdjustmentMode. The tint adjustment applied to this MonoTouch.UIKit.UIView or one of its parent views.
TintColorUIColor. A highlight color which should be used to indicate interactive controls.
[read-only]
static
TraitAdjustablelong. An accessibility trait indicating that the underlying value can be adjusted continuously, as with a slider.
[read-only]
static
TraitAllowsDirectInteractionlong. An accessibility trait indicating that the user can interact directly with the MonoTouch.UIKit.UIView.
[read-only]
static
TraitButtonlong. An accessibility trait indicating button-like behavior.
[read-only]
static
TraitCausesPageTurnlong. An accessibility trait indicating that the MonoTouch.UIKit.UIView causes a page turn after voice over completes.
[read-only]
TraitCollectionUITraitCollection. Returns a trait collection.
[read-only]
static
TraitHeaderlong. An accessibility trait indicating that the MonoTouch.UIKit.UIView is a divider between content sections.
[read-only]
static
TraitImagelong. An accessibility trait indicating the view should be treated as an image.
[read-only]
static
TraitKeyboardKeylong. An accessibility trait indicating that the MonoTouch.UIKit.UIView should be treated as a keyboard key.
[read-only]
static
TraitLinklong. An accessibility trait indicating that the MonoTouch.UIKit.UIView should be treated as a hyperlink.
[read-only]
static
TraitNonelong. Indicates that the MonoTouch.UIKit.UIView has no accessibility traits.
[read-only]
static
TraitNotEnabledlong. An accessibility trait indicating that the MonoTouch.UIKit.UIView is disabled and does not allow user interaction.
[read-only]
static
TraitPlaysSoundlong. An accessibility trait indicating the accessibility element should play its sound when the MonoTouch.UIKit.UIView is activated.
[read-only]
static
TraitSearchFieldlong. An accessibility trait indicating that the MonoTouch.UIKit.UIView is a search field.
[read-only]
static
TraitSelectedlong. An accessibility trait indicating that the MonoTouch.UIKit.UIView is currently selected.
[read-only]
static
TraitStartsMediaSessionlong. An accessibility trait that starts a media session when the MonoTouch.UIKit.UIView is activated.
[read-only]
static
TraitStaticTextlong. An accessibility trait indicating that the MonoTouch.UIKit.UIView contains static text.
[read-only]
static
TraitSummaryElementlong. An accessibility trait indicating that the MonoTouch.UIKit.UIView contains summary information.
[read-only]
static
TraitUpdatesFrequentlylong. An accessibility trait indicating that the MonoTouch.UIKit.UIView updates frequently.
TransformMonoTouch.CoreGraphics.CGAffineTransform. The transform of the MonoTouch.UIKit.UIView, relative to the center of its bounds.
TranslatesAutoresizingMaskIntoConstraintsbool. Specifies whether the autoresizing mask should be translated into constraints for Auto Layout.
[read-only]
static
UILayoutFittingCompressedSizeSystem.Drawing.SizeF. Represents the value associated with the constant UILayoutFittingCompressedSize
[read-only]
static
UILayoutFittingExpandedSizeSystem.Drawing.SizeF. Represents the value associated with the constant UILayoutFittingExpandedSize
UserInteractionEnabledbool. Determines whether input events are processed by this view.
[read-only]
ViewForBaselineLayoutUIView. Returns the MonoTouch.UIKit.UIView upon which baseline constraints should be applied.
[read-only]
ViewPrintFormatterUIViewPrintFormatter. Returns a MonoTouch.UIKit.UIViewPrintFormatter appropriate for the MonoTouch.UIKit.UIView.
[read-only]
static
VoiceOverStatusChangedMonoTouch.Foundation.NSString. An accessibility notification indicating that the status of voice-over has changed.
[read-only]
WindowUIWindow. The MonoTouch.UIKit.UIWindow of the MonoTouch.UIKit.UIView.

Public Methods

AccessibilityActivate() : bool
Activates accessibility for this UIView, returning true on success.
Add(UIView)
This is an alias for UIView.AddSubview, but uses the Add pattern as it allows C# 3.0 constructs to add subviews after creating the object.
AddConstraint(NSLayoutConstraint)
Adds a constraint to the layout of the receiving view or its subviews.
AddConstraints(NSLayoutConstraint[])
Adds multiple constraints to the layout of the receiving view or its subviews.
AddGestureRecognizer(UIGestureRecognizer)
Adds a gesture recognizer to this view.
static
AddKeyframeWithRelativeStartTime(double, double, MonoTouch.Foundation.NSAction)
Adds a single keyframe to an animation, correlated with a relative start time.
AddMotionEffect(UIMotionEffect)
Adds the specified motion effect to the view.
AddSubview(UIView)
Adds the specified view as a subview of this view.
AddSubviews(params UIView[])
Convenience routine to add various views to a UIView.
AlignmentRectForFrame(System.Drawing.RectangleF) : System.Drawing.RectangleF
Returns a customized alignment rectangle for Auto Layout.
static
Animate(double, MonoTouch.Foundation.NSAction)
Animates the property changes that take place in the specified action.
static
Animate(double, MonoTouch.Foundation.NSAction, MonoTouch.Foundation.NSAction)
Animates the property changes that take place in the specified action and invokes a completion callback when the animation completes.
static
Animate(double, double, UIViewAnimationOptions, MonoTouch.Foundation.NSAction, MonoTouch.Foundation.NSAction)
Creates an animation action that you can use to set up a keyframe-based animation. This action animates the property changes that take place in the specified action and invokes a completion callback when the animation completes.
static
AnimateAsync(double, MonoTouch.Foundation.NSAction) : System.Threading.Tasks.Task<bool>
Animates the property changes that take place in the specified animation as an asynchronous operation.
static
AnimateKeyframes(double, double, UIViewKeyframeAnimationOptions, MonoTouch.Foundation.NSAction, UICompletionHandler)
Animates the specified animations action, in which keyframe animations may be used.
static
AnimateKeyframesAsync(double, double, UIViewKeyframeAnimationOptions, MonoTouch.Foundation.NSAction) : System.Threading.Tasks.Task<bool>
Animates the specified action, in which keyframe animations may be used.
static
AnimateNotify(double, MonoTouch.Foundation.NSAction, UICompletionHandler)
Animates the property changes that take place in the specified action.
static
AnimateNotify(double, double, UIViewAnimationOptions, MonoTouch.Foundation.NSAction, UICompletionHandler)
Animates the property changes that take place in the specified action and invokes a completion callback when the animation completes.
static
AnimateNotify(double, double, float, float, UIViewAnimationOptions, MonoTouch.Foundation.NSAction, UICompletionHandler)
Animates the specified property changes with an added spring-like effect.
static
AnimateNotifyAsync(double, MonoTouch.Foundation.NSAction) : System.Threading.Tasks.Task<bool>
Animates the property changes that take place in the specified action and invokes a completion callback when the animation completes.
static
AnimateNotifyAsync(double, double, UIViewAnimationOptions, MonoTouch.Foundation.NSAction) : System.Threading.Tasks.Task<bool>
Executes the specified animation as an asynchronous operation.
static
AnimateNotifyAsync(double, double, float, float, UIViewAnimationOptions, MonoTouch.Foundation.NSAction) : System.Threading.Tasks.Task<bool>
Animates the specified property changes with an added spring-like effect.
static
AppearanceWhenContainedIn(params Type[]) : UIView.UIViewAppearance
Returns a strongly typed UIAppearance for instances of this class when the view is hosted in the specified hierarchy.
static
BeginAnimations(string)
Indicates the beginning of an animation block.
static
BeginAnimations(string, IntPtr)
Indicates the beginning of an animation block
BringSubviewToFront(UIView)
Moves the specified subview so that it appears in front of other UIView.Subviews.
static
CommitAnimations()
Indicates the end of an animation block.
ContentCompressionResistancePriority(UILayoutConstraintAxis) : float
Returns the resistance of an axis to compression below its intrinsic size.
ContentHuggingPriority(UILayoutConstraintAxis) : float
Returns the resistance of an axis to expansion larger than its intrinsic size.
ConvertPointFromCoordinateSpace(System.Drawing.PointF, IUICoordinateSpace) : System.Drawing.PointF
Converts a point from coordinate space.
ConvertPointFromView(System.Drawing.PointF, UIView) : System.Drawing.PointF
Returns the point, in the receiver's coordinate system, of the point in the fromView's coordinate space.
ConvertPointToCoordinateSpace(System.Drawing.PointF, IUICoordinateSpace) : System.Drawing.PointF
Converts point to coordinate space.
ConvertPointToView(System.Drawing.PointF, UIView) : System.Drawing.PointF
Returns the point, in the toView's coordinate system, of the point in this MonoTouch.UIKit.UIView's local coordinate system.
ConvertRectFromCoordinateSpace(System.Drawing.RectangleF, IUICoordinateSpace) : System.Drawing.RectangleF
Converts a rectangle from coordinate space.
ConvertRectFromView(System.Drawing.RectangleF, UIView) : System.Drawing.RectangleF
Returns the System.Drawing.RectangleF, in the receiver's coordinate system, of the rect in the fromView's coordinate space.
ConvertRectToCoordinateSpace(System.Drawing.RectangleF, IUICoordinateSpace) : System.Drawing.RectangleF
Converts a rectangle to coordinate space.
ConvertRectToView(System.Drawing.RectangleF, UIView) : System.Drawing.RectangleF
Returns the System.Drawing.RectangleF, in the toView's coordinate system, of the rect in this MonoTouch.UIKit.UIView's local coordinate system.
DecodeRestorableState(MonoTouch.Foundation.NSCoder)
Application developers can override this method to support state restoration.
Draw(System.Drawing.RectangleF)
Draws the view within the passed-in rectangle.
DrawRect(System.Drawing.RectangleF, UIViewPrintFormatter)
Draws a region for printing.
DrawString(string, System.Drawing.PointF, UIFont) : System.Drawing.SizeF
Draws the specified text at the specified location with the specified font.
DrawString(string, System.Drawing.RectangleF, UIFont) : System.Drawing.SizeF

Deprecated in iOS7. Use NSString.DrawString(PointF, UIStringAttributes) instead.

Draws the string in the specified rectangle with the specified font.

DrawString(string, System.Drawing.RectangleF, UIFont, UILineBreakMode) : System.Drawing.SizeF

Deprecated in iOS7. Use NSString.DrawString(RectangleF, UIStringAttributes) instead

Draws the string in the specified rectangle with the specified font.

DrawString(string, System.Drawing.PointF, float, UIFont, UILineBreakMode) : System.Drawing.SizeF

Deprecated in iOS7. Use NSString.DrawString(RectangleF, UIStringAttributes) instead.

Draws the string in the specified rectangle with the specified font.

DrawString(string, System.Drawing.RectangleF, UIFont, UILineBreakMode, UITextAlignment) : System.Drawing.SizeF

Deprecated in iOS7. Use NSString.DrawString(RectangleF, UIStringAttributes) instead

Draws the string in the specified rectangle with the specified font.

DrawString(string, System.Drawing.PointF, float, UIFont, float, UILineBreakMode, UIBaselineAdjustment) : System.Drawing.SizeF

Deprecated in iOS7. Use NSString.DrawString(RectangleF, UIStringAttributes) instead.

Draws the string in the specified rectangle with the specified font.

DrawString(string, System.Drawing.PointF, float, UIFont, float, ref float, UILineBreakMode, UIBaselineAdjustment) : System.Drawing.SizeF
Obsolete version of this method, use the version with a `ref float actualizeFontSize' parameter instead
DrawString(string, System.Drawing.PointF, float, UIFont, float, float, UILineBreakMode, UIBaselineAdjustment) : System.Drawing.SizeF
Obsolete version of this method, use the version with a `ref float actualizeFontSize' parameter instead
DrawViewHierarchy(System.Drawing.RectangleF, bool) : bool
Renders the view hierarchy (slower than UIView.SnapshotView).
EncodeRestorableState(MonoTouch.Foundation.NSCoder)
Application developers can override this method to store state associated with the view.
EndEditing(bool) : bool
Causes the view (or an appropriate subview) to resign first responder status.
ExchangeSubview(int, int)
This method exchanges the indices of two MonoTouch.UIKit.UIViews within the UIView.Subviews array.
ExerciseAmbiguityInLayout()
Randomly changes the UIView.Frame within an ambiguous set of Auto Layout constraints.
FrameForAlignmentRect(System.Drawing.RectangleF) : System.Drawing.RectangleF
Returns the frame resulting from applying the alignmentRect to the current Auto Layout constraints.
GestureRecognizerShouldBegin(UIGestureRecognizer) : bool
Determines if the specified gesture recognizers should be allowed to track touch events.
static
GetAppearance<T>() : UIView.UIViewAppearance
The strongly-typed IUIAppearance for this object.
static
GetAppearance<T>(UITraitCollection) : UIView.UIViewAppearance
IUIAppearance for this object with specified traits.
static
GetAppearance<T>(UITraitCollection, params Type[]) : UIView.UIViewAppearance
IUIAppearance for this object with specified traits and customized container.
GetConstraintsAffectingLayout(UILayoutConstraintAxis) : NSLayoutConstraint[]
Returns the array of MonoTouch.UIKit.NSLayoutConstraint that are affecting the layout of the MonoTouch.UIKit.UIView along the specified axis.
GetEnumerator() : IEnumerator
Returns an enumerator that lists all of the subviews in this view
HitTest(System.Drawing.PointF, UIEvent) : UIView
Determines the most nested view that contains the point.
InsertSubview(UIView, int)
Inserts the specified subview at the specified location as a subview of this view.
InsertSubviewAbove(UIView, UIView)
Inserts the specified view above the siblingSubvie in the view hierarchy
InsertSubviewBelow(UIView, UIView)
Inserts the specified view below the siblingSubview in the view hierarchy.
InvalidateIntrinsicContentSize()
Alerts the Auto Layout system that the intrinsic value of the MonoTouch.UIKit.UIView has changed.
IsDescendantOfView(UIView) : bool
Returns true if this MonoTouch.UIKit.UIView is in the view's view hierarchy.
LayoutIfNeeded()
Lays out the subviews if needed.
LayoutMarginsDidChange()
Lays out changed subviews
LayoutSubviews()
Lays out subviews.
MovedToSuperview()
Indicates the MonoTouch.UIKit.UIView has had its UIView.Superview property changed.
MovedToWindow()
Indicates the MonoTouch.UIKit.UIView has had its UIView.Window property changed.
NeedsUpdateConstraints() : bool
Indicates that the Auto Layout constraints of the MonoTouch.UIKit.UIView need updating.
static
PerformSystemAnimation(UISystemAnimation, UIView[], UIViewAnimationOptions, MonoTouch.Foundation.NSAction, UICompletionHandler)
Performs a system-provided animation and optional parallel animations.
static
PerformSystemAnimationAsync(UISystemAnimation, UIView[], UIViewAnimationOptions, MonoTouch.Foundation.NSAction) : System.Threading.Tasks.Task<bool>
Performs a system-provided animation and optional parallel animations.
static
PerformWithoutAnimation(MonoTouch.Foundation.NSAction)
Applies a set of changes to a view with a guarantee that animations will not be used.
PointInside(System.Drawing.PointF, UIEvent) : bool
Returns true if the specified point is within the MonoTouch.UIKit.UIView's UIView.Bounds.
RemoveConstraint(NSLayoutConstraint)
Removes an Auto Layout constraint from the MonoTouch.UIKit.UIView's UIView.Constraints.
RemoveConstraints(NSLayoutConstraint[])
Removes multiple Auto Layout constraints from the MonoTouch.UIKit.UIView's UIView.Constraints.
RemoveFromSuperview()
Detaches the MonoTouch.UIKit.UIView from its UIView.Superview.
RemoveGestureRecognizer(UIGestureRecognizer)
Removes a gesture recognizer from the MonoTouch.UIKit.UIView's UIView.GestureRecognizers.
RemoveMotionEffect(UIMotionEffect)
Removes the specified motion effect to the view.
static
RequiresConstraintBasedLayout() : bool
Indicates that the MonoTouch.UIKit.UIView uses Auto Layout.
ResizableSnapshotView(System.Drawing.RectangleF, bool, UIEdgeInsets) : UIView
Creates an image snapshot of a portion of the MonoTouch.UIKit.UIView, with stretchable insets.
SendSubviewToBack(UIView)
Moves a MonoTouch.UIKit.UIView so that it appears behind all its siblings.
static
SetAnimationBeginsFromCurrentState(bool)
Sets whether the animation transaction will animate from the current view state.
static
SetAnimationCurve(UIViewAnimationCurve)
Sets the animation curve for this animation transaction.
static
SetAnimationDelay(double)
Sets the animation delay for this animation transaction.
static
SetAnimationDelegate(MonoTouch.Foundation.NSObject)
Allows the app developer to create a custom animation delegate.
static
SetAnimationDidStopSelector(MonoTouch.ObjCRuntime.Selector)
Specifies the selector to be used by a custom animation delegate when animation ends.
static
SetAnimationDuration(double)
Sets the duration for this animation transaction.
static
SetAnimationRepeatAutoreverses(bool)
Sets whether this animation transaction will automatically reverse when it completes.
static
SetAnimationRepeatCount(float)
Sets the repeat count for this animation transaction.
static
SetAnimationStartDate(MonoTouch.Foundation.NSDate)
Specifies when the animation should begin.
static
SetAnimationTransition(UIViewAnimationTransition, UIView, bool)
Sets a transition to be used during an animation block.
static
SetAnimationWillStartSelector(MonoTouch.ObjCRuntime.Selector)
Specifies the selector to be used by a custom animation delegate when animation is about to begin.
SetContentCompressionResistancePriority(float, UILayoutConstraintAxis)
Sets the resistance to compression below the MonoTouch.UIKit.UIView's UIView.IntrinsicContentSize.
SetContentHuggingPriority(float, UILayoutConstraintAxis)
Sets the resistance to expansion beyond the MonoTouch.UIKit.UIView's UIView.IntrinsicContentSize.
SetNeedsDisplay()
Marks the view dirty and queues a redraw operation on it.
SetNeedsDisplayInRect(System.Drawing.RectangleF)
Marks a region of the view as dirty and queues a redraw operation on that region.
SetNeedsLayout()
Sets whether subviews need to be rearranged before displaying.
SetNeedsUpdateConstraints()
Indicates to the Auto Layout system that it must call UIView.UpdateConstraints.
SizeThatFits(System.Drawing.SizeF) : System.Drawing.SizeF
Returns the System.Drawing.SizeF that best fits this MonoTouch.UIKit.UIView.
SizeToFit()
Moves and resizes the MonoTouch.UIKit.UIView so that it tightly encloses its UIView.Subviews
SnapshotView(bool) : UIView
Creates a MonoTouch.UIKit.UIView that contains a snapshot image of the current view's contents.
StringSize(string, UIFont) : System.Drawing.SizeF

Deprecated in iOS7. Use NSString.GetSizeUsingAttributes(UIStringAttributes) instead.

Calculates the System.Drawing.SizeF of the specified string if it were rendered with the specified font.

StringSize(string, UIFont, System.Drawing.SizeF) : System.Drawing.SizeF

Deprecated in iOS7. Use NSString.GetBoundingRect (SizeF, NSStringDrawingOptions, UIStringAttributes,NSStringDrawingContext) instead.

Calculates the System.Drawing.SizeF of the specified string if it were rendered with the specified font and constrained to the specified size.

StringSize(string, UIFont, System.Drawing.SizeF, UILineBreakMode) : System.Drawing.SizeF

Deprecated in iOS7. Use NSString.GetBoundingRect (SizeF, NSStringDrawingOptions, UIStringAttributes,NSStringDrawingContext) instead.

Calculates the System.Drawing.SizeF of the specified string if it were rendered with the specified: font, size constraint, and line-break mode.

StringSize(string, UIFont, float, UILineBreakMode) : System.Drawing.SizeF

Deprecated in iOS7. Use NSString.GetBoundingRect (SizeF, NSStringDrawingOptions, UIStringAttributes,NSStringDrawingContext) instead.

Calculates the System.Drawing.SizeF of a single line of the specified string if it were rendered with the specified: font, width constraint, and line-break mode.

StringSize(string, UIFont, float, ref float, float, UILineBreakMode) : System.Drawing.SizeF

Deprecated on iOS7.

Calculates the System.Drawing.SizeF and size of the font of the first line of the specified string if it were rendered with the specified constraints.

SubviewAdded(UIView)
Tells the view when subviews are added.
SystemLayoutSizeFittingSize(System.Drawing.SizeF) : System.Drawing.SizeF
Calculates the smallest or largest size that this MonoTouch.UIKit.UIView can have that satisfies its Auto Layout constraints.
SystemLayoutSizeFittingSize(System.Drawing.SizeF, float, float) : System.Drawing.SizeF
Defines the fitting constraints for layout.
TintColorDidChange()
Called when the UIView.TintColor changes, such as when a MonoTouch.UIKit.UIActionSheet is displayed.
TraitCollectionDidChange(UITraitCollection)
Defines previous trait collection.
static
Transition(UIView, UIView, double, UIViewAnimationOptions, MonoTouch.Foundation.NSAction)
Specifies a transition animation to be used between the specified MonoTouch.UIKit.UIViews.
static
Transition(UIView, double, UIViewAnimationOptions, MonoTouch.Foundation.NSAction, MonoTouch.Foundation.NSAction)
Specifies a transition animation on the specified collection view.
static
TransitionNotify(UIView, UIView, double, UIViewAnimationOptions, UICompletionHandler)
Specifies a transition animation to be used between the specified MonoTouch.UIKit.UIViews.
static
TransitionNotify(UIView, double, UIViewAnimationOptions, MonoTouch.Foundation.NSAction, UICompletionHandler)
Specifies a transition animation on the specified collection view.
static
TransitionNotifyAsync(UIView, UIView, double, UIViewAnimationOptions) : System.Threading.Tasks.Task<bool>
Specifies a transition animation to be used between the specified s.
static
TransitionNotifyAsync(UIView, double, UIViewAnimationOptions, MonoTouch.Foundation.NSAction) : System.Threading.Tasks.Task<bool>
Specifies a transition animation on the specified collection view.
UpdateConstraints()
Updates the Auto Layout constraints for the MonoTouch.UIKit.UIView.
UpdateConstraintsIfNeeded()
Updates the constraints of the MonoTouch.UIKit.UIView and its UIView.Subviews.
ViewWithTag(int) : UIView
Returns the MonoTouch.UIKit.UIView identified by the tag. May return null.
WillMoveToSuperview(UIView)
Called before the UIView.Superview changes.
WillMoveToWindow(UIWindow)

This method is called by the runtime when assigning a new MonoTouch.UIKit.UIWindow to the MonoTouch.UIKit.UIView's view hierarcy. This method will be called on all MonoTouch.UIKit.UIViews in the hierarchy, not just the top-level MonoTouch.UIKit.UIView.

By default, this method does nothing. Application developers can override the method in order to perform additional processing.

WillRemoveSubview(UIView)
Called prior to the removal of a subview.

Protected Methods

override
Dispose(bool)
Releases the resources used by the UIView object.

Public Events

static
AnimationWillEndThis event is raised when the animations will end.
static
AnimationWillStartThis event is raised when the animations will start.