Share via


UIView.CenterYAnchor 属性

定义

NSLayoutYAxisAnchor定义此 UIView的 Y 轴中心的 。

[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 9, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual UIKit.NSLayoutYAxisAnchor CenterYAnchor { [Foundation.Export("centerYAnchor")] [ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 9, 0, ObjCRuntime.PlatformArchitecture.All, null)] get; }
member this.CenterYAnchor : UIKit.NSLayoutYAxisAnchor

属性值

属性

适用于

另请参阅