UIKit.UILayoutPriority Enumeration
An enumeration of values used by flow layouts to prioritize constraints.

Syntax

public enum UILayoutPriority

Remarks

Higher values are considered more important by the flow layout constraint engine. Application developers should not specify a layout priority greater than the value of UILayoutPriority.Required

Members

Member NameDescription
DefaultHighThe resistance by which a button resists compressing its content.
DefaultLowThe priority at which a button hugs its content horizontally.
FittingSizeLevelGenerally not used; the priority at which a view wants to conform to the value of UIView.SystemLayoutSizeFitting.
RequiredIndicates a required constraint. The underlying value of this is 1000.

Requirements

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