UIViewAutoresizing
UIViewAutoresizing
Enum
Definition
An enumeration indicating the resizing style for UIViews.
This enumeration has a FlagsAttribute attribute that allows a bitwise combination of its member values.
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.WatchOS, ObjCRuntime.PlatformArchitecture.All, null)]
[System.Flags]
public enum UIViewAutoresizing
type UIViewAutoresizing =
- Inheritance
- Attributes
Fields
All All | 63 | The UIView resizes on all sides. |
FlexibleBottomMargin FlexibleBottomMargin | 32 | Resizing is performed by expanding or shrinking the UIView in the direction of the bottom margin. |
FlexibleDimensions FlexibleDimensions | 18 | Combines FlexibleHeight and FlexibleWidth. |
FlexibleHeight FlexibleHeight | 16 | Resizing is performed by expanding or shrinking the UIView's height. |
FlexibleLeftMargin FlexibleLeftMargin | 1 | Resizing is performed by expanding or shrinking the UIView in the direction of the left margin. |
FlexibleMargins FlexibleMargins | 45 | Combination of all flexible margin values. |
FlexibleRightMargin FlexibleRightMargin | 4 | Resizing is performed by expanding or shrinking the UIView in the direction of the right margin. |
FlexibleTopMargin FlexibleTopMargin | 8 | Resizing is performed by expanding or shrinking the UIView in the direction of the top margin. |
FlexibleWidth FlexibleWidth | 2 | Resizing is performed by expanding or shrinking the UIView's width. |
None None | 0 | Indicates that the view does not resize. |
Applies to
Feedback
We'd love to hear your thoughts. Choose the type you'd like to provide:
Our feedback system is built on GitHub Issues. Read more on our blog.
Loading feedback...