UIKit.NSLayoutAttribute Enumeration
An enumeration of attributes for use with constraint-based layouts

Syntax

[ObjCRuntime.Native]
public enum NSLayoutAttribute

Remarks

Values used to specify particular constraint attributes in constraint-based layouts. These values are primarily used by methods in the UIKit.NSLayoutConstraint class.

Members

Member NameDescription
BaselineThe line on which text without descenders sits.
BottomThe bottom of the element.
BottomMarginDocumentation for this section has not yet been entered.
CenterXThe left-to-right midpoint of the element.
CenterXWithinMarginsDocumentation for this section has not yet been entered.
CenterYThe top-to-bottom midpoint of the element.
CenterYWithinMarginsDocumentation for this section has not yet been entered.
FirstBaselineDocumentation for this section has not yet been entered.
HeightThe size of the element along the Y axis.
LastBaselineDocumentation for this section has not yet been entered.
LeadingIn locales with right-to-left text, this value is equal to NSLayoutAttribute.Left. In locales such as Hebrew or Arabic, equal to NSLayoutAttribute.Right.
LeadingMarginDocumentation for this section has not yet been entered.
LeftThe left-most X value of the element.
LeftMarginDocumentation for this section has not yet been entered.
NoAttributeIndicates no attribute.
RightThe right-most X value of the element.
RightMarginDocumentation for this section has not yet been entered.
TopThe top-most Y value of the element.
TopMarginDocumentation for this section has not yet been entered.
TrailingIn locales with right-to-left text, this value is equal to NSLayoutAttribute.Right. In locales such as Hebrew or Arabic, equal to NSLayoutAttribute.Left.
TrailingMarginDocumentation for this section has not yet been entered.
WidthThe size of the element along the X axis.

Related content

Requirements

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