Upravit

Sdílet prostřednictvím


UIView.Center Property

Definition

The center of the view, in the container coordinate space.

public virtual CoreGraphics.CGPoint Center { [Foundation.Export("center")] get; [Foundation.Export("setCenter:")] set; }
member this.Center : CoreGraphics.CGPoint with get, set

Property Value

This value is measured in points, not pixels.

Implements

Attributes

Remarks

When you update this property, this will automatically adjust corresponding Frame.

Applies to