UIView.AutosizesSubviews Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
public virtual bool AutosizesSubviews { [Foundation.Export("autoresizesSubviews")] get; [Foundation.Export("setAutoresizesSubviews:")] set; }
member this.AutosizesSubviews : bool with get, set
Property Value
The default value is true
.
- Attributes
Remarks
If this value is true
, this UIView will resize its Subviews when this UIView's Bounds change.
Application developers may wish to use the more powerful Auto Layout capability rather than the older Autoresizing Mask capability.