共用方式為


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

屬性值

屬性

適用於

另請參閱