UIViewController.TopLayoutGuide Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Developers should not use this deprecated property. Instead, they should use SafeAreaLayoutGuide.
[ObjCRuntime.Deprecated(ObjCRuntime.PlatformName.iOS, 11, 0, ObjCRuntime.PlatformArchitecture.None, "Use 'UIView.SafeAreaLayoutGuide.TopAnchor' instead.")]
[ObjCRuntime.Deprecated(ObjCRuntime.PlatformName.TvOS, 11, 0, ObjCRuntime.PlatformArchitecture.None, "Use 'UIView.SafeAreaLayoutGuide.TopAnchor' instead.")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 7, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual UIKit.IUILayoutSupport TopLayoutGuide { [Foundation.Export("topLayoutGuide")] [ObjCRuntime.Deprecated(ObjCRuntime.PlatformName.iOS, 11, 0, ObjCRuntime.PlatformArchitecture.None, "Use 'UIView.SafeAreaLayoutGuide.TopAnchor' instead.")] [ObjCRuntime.Deprecated(ObjCRuntime.PlatformName.TvOS, 11, 0, ObjCRuntime.PlatformArchitecture.None, "Use 'UIView.SafeAreaLayoutGuide.TopAnchor' instead.")] [ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 7, 0, ObjCRuntime.PlatformArchitecture.All, null)] get; }
member this.TopLayoutGuide : UIKit.IUILayoutSupport
Property Value
The top-most extent for the specified onscreen content (read-only).
- Attributes
Remarks
This deprecated property holds the highest vertical extent of onscreen content. Used by Auto Layout constraints. Read-only.