NSStackViewGravity 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.
Specifies the "gravity area" of an NSStackView to which a view is added, controlling its position relative to other views.
[ObjCRuntime.Native]
public enum NSStackViewGravity
[<ObjCRuntime.Native>]
type NSStackViewGravity =
- Inheritance
-
NSStackViewGravity
- Attributes
Fields
| Name | Value | Description |
|---|---|---|
| Leading | 1 | Places the view in the leading gravity area of the stack view. |
| Top | 1 | Places the view in the leading gravity area of a vertical stack view, at its top. |
| Center | 2 | Places the view in the center gravity area of the stack view. |
| Bottom | 3 | Places the view in the trailing gravity area of a vertical stack view, at its bottom. |
| Trailing | 3 | Places the view in the trailing gravity area of the stack view. |