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

Syntax

[MonoTouch.ObjCRuntime.Native]
[System.Flags]
public enum NSLayoutFormatOptions

Remarks

The method NSLayoutConstraint.FromVisualFormat takes as a parameter a MonoTouch.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).

Members

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.
AlignAllFirstBaselineDocumentation for this section has not yet been entered.
AlignAllLastBaselineDocumentation for this section has not yet been entered.
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.

Requirements

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