iOS Guides | Samples

MonoTouch.UIKit.UIViewAutoresizing Enumeration

An enumeration indicating the resizing style for UIViews.

Syntax

[MonoTouch.ObjCRuntime.Native]
[MonoTouch.ObjCRuntime.Unavailable(MonoTouch.ObjCRuntime.PlatformName.WatchOS, MonoTouch.ObjCRuntime.PlatformArchitecture.All, null)]
[System.Flags]
public enum UIViewAutoresizing

Members

Member NameDescription
AllThe UIView resizes on all sides.
FlexibleBottomMarginResizing is performed by expanding or shrinking the UIView in the direction of the bottom margin.
FlexibleDimensionsCombines UIViewAutoresizing.FlexibleHeight and UIViewAutoresizing.FlexibleWidth.
FlexibleHeightResizing is performed by expanding or shrinking the UIView's height.
FlexibleLeftMarginResizing is performed by expanding or shrinking the UIView in the direction of the left margin.
FlexibleMarginsCombination of all flexible margin values.
FlexibleRightMarginResizing is performed by expanding or shrinking the UIView in the direction of the right margin.
FlexibleTopMarginResizing is performed by expanding or shrinking the UIView in the direction of the top margin.
FlexibleWidthResizing is performed by expanding or shrinking the UIView's width.
NoneIndicates that the view does not resize.

Requirements

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

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

See Also: Enum

Public Fields

AllUIViewAutoresizing. The UIView resizes on all sides.
FlexibleBottomMarginUIViewAutoresizing. Resizing is performed by expanding or shrinking the UIView in the direction of the bottom margin.
FlexibleDimensionsUIViewAutoresizing. Combines UIViewAutoresizing.FlexibleHeight and UIViewAutoresizing.FlexibleWidth.
FlexibleHeightUIViewAutoresizing. Resizing is performed by expanding or shrinking the UIView's height.
FlexibleLeftMarginUIViewAutoresizing. Resizing is performed by expanding or shrinking the UIView in the direction of the left margin.
FlexibleMarginsUIViewAutoresizing. Combination of all flexible margin values.
FlexibleRightMarginUIViewAutoresizing. Resizing is performed by expanding or shrinking the UIView in the direction of the right margin.
FlexibleTopMarginUIViewAutoresizing. Resizing is performed by expanding or shrinking the UIView in the direction of the top margin.
FlexibleWidthUIViewAutoresizing. Resizing is performed by expanding or shrinking the UIView's width.
NoneUIViewAutoresizing. Indicates that the view does not resize.