UIKit.NSLayoutFormatOptions Enumeration
An enumeration of values used by NSLayoutConstraint.FromVisualFormat


public enum NSLayoutFormatOptions


The method NSLayoutConstraint.FromVisualFormat takes as a parameter a UIKit.NSLayoutFormatOptions value. This specifies which alignment instruction (e.g., NSLayoutFormatOptions.AlignAllLeft) is to be used with the visual format string. For more on the visual format syntax, refer to the Apple document "Visual Format Language" (http://developer.apple.com/library/mac/#documentation/UserExperience/Conceptual/AutolayoutPG/Articles/formatLanguage.html).


Member NameDescription
AlignAllBaselineAligns all elements using their NSLayoutAttribute.Baselines.
AlignAllBottomAligns all elements using their NSLayoutAttribute.Bottoms.
AlignAllCenterXAligns all elements using their NSLayoutAttribute.CenterXs.
AlignAllCenterYAligns all elements using their NSLayoutAttribute.CenterYs.
AlignAllFirstBaselineAlign all elements by using their first baselines.
AlignAllLastBaselineAlign all elements by using their last baselines.
AlignAllLeadingAligns all elements using their NSLayoutAttribute.Leadings.
AlignAllLeftAligns all elements using their NSLayoutAttribute.Left properties.
AlignAllRightAligns all elements using their NSLayoutAttribute.Right properties.
AlignAllTopAligns all attributes using their NSLayoutAttribute.Tops.
AlignAllTrailingAligns all attributes using their NSLayoutAttribute.Trailings.
AlignmentMaskMask that can be applied to return only the alignment portion of the format options.
DirectionLeadingToTrailingArranges objects in the normal direction of text. In most languages this is left-to-right.
DirectionLeftToRightArranges objects so that the first object is left-most.
DirectionMaskMask that can be applied to return only the directional component of the format options.
DirectionRightToLeftArranges objects so that the first object is right-most.


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