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


public enum UILayoutPriority


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


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.


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