iOS Guides | Samples

MonoTouch.UIKit.UILayoutPriority Enumeration

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

Syntax

[MonoTouch.ObjCRuntime.Unavailable(MonoTouch.ObjCRuntime.PlatformName.WatchOS, MonoTouch.ObjCRuntime.PlatformArchitecture.All, null)]
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: MonoTouch.UIKit
Assembly: monotouch (in monotouch.dll)
Assembly Versions: 0.0.0.0

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

See Also: Enum

Public Fields

DefaultHighUILayoutPriority. The resistance by which a button resists compressing its content.
DefaultLowUILayoutPriority. The priority at which a button hugs its content horizontally.
FittingSizeLevelUILayoutPriority. Generally not used; the priority at which a view wants to conform to the value of UIView.SystemLayoutSizeFitting.
RequiredUILayoutPriority. Indicates a required constraint. The underlying value of this is 1000.