Compartilhar via


UIView.ContentStretch Propriedade

Definição

Os desenvolvedores não devem usar essa propriedade preterida. Em vez disso, os desenvolvedores devem usar '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

Valor da propriedade

Atributos

Comentários

Essa propriedade foi preterida no iOS 6.0. Os desenvolvedores são aconselhados a usar UIImageView com uma UIImage elástica.

Aplica-se a