共用方式為


UILabel.PreferredMaxLayoutWidth 屬性

定義

多行標籤慣用的最大寬度,以點為單位。

[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 6, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual nfloat PreferredMaxLayoutWidth { [Foundation.Export("preferredMaxLayoutWidth")] [ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 6, 0, ObjCRuntime.PlatformArchitecture.All, null)] get; [Foundation.Export("setPreferredMaxLayoutWidth:")] [ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 6, 0, ObjCRuntime.PlatformArchitecture.All, null)] set; }
member this.PreferredMaxLayoutWidth : nfloat with get, set

屬性值

屬性

適用於