UIView.ContentStretch Property

Definition

Developers should not use this deprecated property. Developers should use 'CreateResizableImage' instead.

[ObjCRuntime.Deprecated(ObjCRuntime.PlatformName.iOS, 6, 0, ObjCRuntime.PlatformArchitecture.All, "Use 'CreateResizableImage' instead.")]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.TvOS, ObjCRuntime.PlatformArchitecture.All, null)]
[get: Foundation.Export("contentStretch")]
[get: ObjCRuntime.Deprecated(ObjCRuntime.PlatformName.iOS, 6, 0, ObjCRuntime.PlatformArchitecture.All, "Use 'CreateResizableImage' instead.")]
[get: ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.TvOS, ObjCRuntime.PlatformArchitecture.All, null)]
[set: Foundation.Export("setContentStretch:")]
[set: ObjCRuntime.Deprecated(ObjCRuntime.PlatformName.iOS, 6, 0, ObjCRuntime.PlatformArchitecture.All, "Use 'CreateResizableImage' instead.")]
[set: ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.TvOS, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual CoreGraphics.CGRect ContentStretch { get; set; }
member this.ContentStretch : CoreGraphics.CGRect with get, set

Property Value

Attributes

Remarks

This property was deprecated in iOS 6.0. Developers are advised to use UIImageView with a stretchable UIImage instead.

Applies to