UIView.ContentMode 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.
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.