共用方式為


UIView.CenterXAnchor 屬性

定義

NSLayoutXAxisAnchor 定義這個 UIView 的 X 軸中心。

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

屬性值

屬性

適用於

另請參閱