iOS Guides | Samples

MonoTouch.UIKit.UIStackViewDistribution Enumeration

How the views in a UIStackView are distributed along the view's alignment axis.

Syntax

[MonoTouch.ObjCRuntime.Introduced(MonoTouch.ObjCRuntime.PlatformName.iOS, 9, 0, MonoTouch.ObjCRuntime.PlatformArchitecture.None, null)]
[MonoTouch.ObjCRuntime.Native]
[MonoTouch.ObjCRuntime.Unavailable(MonoTouch.ObjCRuntime.PlatformName.WatchOS, MonoTouch.ObjCRuntime.PlatformArchitecture.All, null)]
public enum UIStackViewDistribution

Members

Member NameDescription
EqualCenteringAttempts to maintain equal center-to-center spacing between UIStackView.ArrangedSubviews.
EqualSpacingAttempts to maintain equal spacing between UIStackView.ArrangedSubviews.
FillAttempts to fill along the UIStackView.Axis according to the UIStackView.ArrangedSubviews' UIView.ContentCompressionResistancePriority and UIView.ContentHuggingPriority properties.
FillEquallyAttempts to fill along the UIStackView.Axis by giving the UIStackView.ArrangedSubviews the same space.
FillProportionallyAttempts to fill along the UIStackView.Axis by giving the UIStackView.ArrangedSubviews the space required by their UIView.IntrinsicContentSize property.

Requirements

Namespace: MonoTouch.UIKit
Assembly: monotouch (in monotouch.dll)
Assembly Versions: 0.0.0.0

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

See Also: Enum

Public Fields

EqualCenteringUIStackViewDistribution. Attempts to maintain equal center-to-center spacing between UIStackView.ArrangedSubviews.
EqualSpacingUIStackViewDistribution. Attempts to maintain equal spacing between UIStackView.ArrangedSubviews.
FillUIStackViewDistribution. Attempts to fill along the UIStackView.Axis according to the UIStackView.ArrangedSubviews' UIView.ContentCompressionResistancePriority and UIView.ContentHuggingPriority properties.
FillEquallyUIStackViewDistribution. Attempts to fill along the UIStackView.Axis by giving the UIStackView.ArrangedSubviews the same space.
FillProportionallyUIStackViewDistribution. Attempts to fill along the UIStackView.Axis by giving the UIStackView.ArrangedSubviews the space required by their UIView.IntrinsicContentSize property.