Bearbeiten

Freigeben über


UIView.ContentMode Property

Definition

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

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

Property Value

Attributes

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