Condividi tramite


UIView.ContentStretch Proprietà

Definizione

Gli sviluppatori non devono usare questa proprietà deprecata. Gli sviluppatori devono usare invece 'CreateResizableImage'.

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

Valore della proprietà

Attributi

Commenti

Questa proprietà è stata deprecata in iOS 6.0. Gli sviluppatori sono invitati a usare UIImageView con un'interfaccia utente estendibile.

Si applica a