UIKit.UIView.AutosizesSubviews Property
Specifies whether the receiver should automatically resize its UIView.Subviews when the receiver's UIView.Bounds change.

Syntax

[get: Foundation.Export("autoresizesSubviews")]
[set: Foundation.Export("setAutoresizesSubviews:")]
public virtual bool AutosizesSubviews { get; set; }

Value

The default value is true.

Remarks

If this value is true, this UIKit.UIView will resize its UIView.Subviews when this UIKit.UIView's UIView.Bounds change.

Application developers may wish to use the more powerful Auto Layout capability rather than the older Autoresizing Mask capability.

Requirements

Namespace: UIKit
Assembly: Xamarin.iOS (in Xamarin.iOS.dll)
Assembly Versions: 0.0.0.0