MonoTouch.UIKit.UIView.Subviews Property
An array of MonoTouch.UIKit.UIViews that are contained within this MonoTouch.UIKit.UIView.

Syntax

[get: MonoTouch.Foundation.Export("subviews")]
public virtual UIView[] Subviews { get; }

See Also

Monotouch.UIKit.UIView.Superview

Value

The default value is an empty array.

Remarks

This property defines the view hierarchy of a MonoTouch.UIKit.UIView. The complete view hierarchy includes the MonoTouch.UIKit.UIView's UIView.Superview and the descendent MonoTouch.UIKit.UIViews that are UIView.Subviews of UIView.Subviews, but the methods for manipulating the hierarchy are focused on manipulating subviews (e.g., UIView.AddSubview, UIView.InsertSubview, etc.).

The position of a MonoTouch.UIKit.UIView in the UIView.Subviews array determines that MonoTouch.UIKit.UIView's z-order among the subviews. The MonoTouch.UIKit.UIView at index 0 is the rear-most view. MonoTouch.UIKit.UIViews can be initialized in a desired z-order by using UIView.InsertSubviewAbove and UIView.InsertSubviewBelow. MonoTouch.UIKit.UIViews can be brought forward or sent backward in z-order by using UIView.ExchangeSubview.

Application developers should not manipulate or modify UIView.Subviews of framework-supplied MonoTouch.UIKit.UIViews, as they may change without notice in system updates.

Requirements

Namespace: MonoTouch.UIKit
Assembly: monotouch (in monotouch.dll)
Assembly Versions: 0.0.0.0