NSLayoutConstraint.Active 属性

定义

控制约束是否处于活动状态。  活动约束用作自动布局过程的一部分,不会忽略那些约束。

[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 8, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual bool Active { [Foundation.Export("isActive")] [ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 8, 0, ObjCRuntime.PlatformArchitecture.All, null)] get; [Foundation.Export("setActive:")] [ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 8, 0, ObjCRuntime.PlatformArchitecture.All, null)] set; }
member this.Active : bool with get, set

属性值

属性

适用于