UIStackViewDistribution Enum
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
How the views in a UIStackView are distributed along the view's alignment axis.
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 9, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.WatchOS, ObjCRuntime.PlatformArchitecture.All, null)]
public enum UIStackViewDistribution
type UIStackViewDistribution =
- Inheritance
-
UIStackViewDistribution
- Attributes
Fields
EqualCentering | 4 | Attempts to maintain equal center-to-center spacing between ArrangedSubviews. |
EqualSpacing | 3 | Attempts to maintain equal spacing between ArrangedSubviews. |
Fill | 0 | Attempts to fill along the Axis according to the ArrangedSubviews' ContentCompressionResistancePriority(UILayoutConstraintAxis) and ContentHuggingPriority(UILayoutConstraintAxis) properties. |
FillEqually | 1 | Attempts to fill along the Axis by giving the ArrangedSubviews the same space. |
FillProportionally | 2 | Attempts to fill along the Axis by giving the ArrangedSubviews the space required by their IntrinsicContentSize property. |