共用方式為


CALayer.AllowsGroupOpacity 屬性

定義

是否允許群組不透明度。

[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 7, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 9, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual bool AllowsGroupOpacity { [Foundation.Export("allowsGroupOpacity")] [ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 7, 0, ObjCRuntime.PlatformArchitecture.All, null)] [ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 9, ObjCRuntime.PlatformArchitecture.All, null)] get; [Foundation.Export("setAllowsGroupOpacity:")] [ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 7, 0, ObjCRuntime.PlatformArchitecture.All, null)] [ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 9, ObjCRuntime.PlatformArchitecture.All, null)] set; }
member this.AllowsGroupOpacity : bool with get, set

屬性值

true 如果允許群組不透明度,則為 。 根據預設,所有群組都允許不透明度。

屬性

適用於