UIKit.UIView.Center Property
The center of the view, in the container coordinate space.

Syntax

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

Value

This value is measured in points, not pixels.

Remarks

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

Requirements

Namespace: UIKit
Assembly: Xamarin.iOS (in Xamarin.iOS.dll)
Assembly Versions: 0.0.0.0