UIView.ContentMode UIView.ContentMode Property

Definition

Controls how the cached bitmap of a view must be rendered when the view's bounds change.

[get: Foundation.Export("contentMode")]
[set: Foundation.Export("setContentMode:")]
public virtual UIKit.UIViewContentMode ContentMode { get; set; }
member this.ContentMode : UIKit.UIViewContentMode with get, set

Property Value

Remarks

Used to control how the cached bitmap of the UIView changes when the Frame or Bounds properties are updated.

This property works in conjunction with the ContentStretch property.

Applies to