iOS Guides | Samples

MonoTouch.UIKit.UILayoutGuide Class

A rectangular area used for defining autolayout constraints.

See Also: UILayoutGuide

Syntax

[MonoTouch.Foundation.Register("UILayoutGuide", true)]
[MonoTouch.ObjCRuntime.Introduced(MonoTouch.ObjCRuntime.PlatformName.iOS, 9, 0, MonoTouch.ObjCRuntime.PlatformArchitecture.None, null)]
[MonoTouch.ObjCRuntime.Unavailable(MonoTouch.ObjCRuntime.PlatformName.WatchOS, MonoTouch.ObjCRuntime.PlatformArchitecture.All, null)]
public class UILayoutGuide : NSObject, INSCoding, IDisposable

Related content

Requirements

Namespace: MonoTouch.UIKit
Assembly: monotouch (in monotouch.dll)
Assembly Versions: 0.0.0.0

The members of MonoTouch.UIKit.UILayoutGuide are listed below.

See Also: NSObject

Public Constructors

Default constructor, initializes a new instance of this class.
A constructor that initializes the object from the data stored in the unarchiver object.
Constructor to call on derived classes to skip initialization and merely allocate the object.
A constructor used when creating managed representations of unmanaged objects; Called by the runtime.

Public Properties

[read-only]
BottomAnchorNSLayoutYAxisAnchor. The bottom edge of the guide.
[read-only]
CenterXAnchorNSLayoutXAxisAnchor. The horizontal center of the guide.
[read-only]
CenterYAnchorNSLayoutYAxisAnchor. The vertical center of the guide.
[read-only]
override
ClassHandleIntPtr. The handle for this class.
[read-only]
HeightAnchorNSLayoutDimension. The vertical extent of the guide.
IdentifierString. A developer-provided name for the guide.
[read-only]
LayoutFrameRectangleF. The frame of the guide, in it's owning UIView object's coordinate system.
[read-only]
LeadingAnchorNSLayoutXAxisAnchor. The leading edge of the guide.
[read-only]
LeftAnchorNSLayoutXAxisAnchor. The left edge of the guide.
OwningViewUIView. The UIView that contains this guide.
[read-only]
RightAnchorNSLayoutXAxisAnchor. The right edge of the guide.
[read-only]
TopAnchorNSLayoutYAxisAnchor. The top edge of the guide.
[read-only]
TrailingAnchorNSLayoutXAxisAnchor. The trailing edge of the guide.
[read-only]
WidthAnchorNSLayoutDimension. The width of the guide.

Protected Methods

override
Dispose(Boolean)
Releases the resources used by the UILayoutGuide object.