UIImage.ResizingMode Property
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.
The resizing mode used by the image.
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 6, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.ThreadSafe]
public virtual UIKit.UIImageResizingMode ResizingMode { [Foundation.Export("resizingMode")] [ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 6, 0, ObjCRuntime.PlatformArchitecture.All, null)] get; }
member this.ResizingMode : UIKit.UIImageResizingMode
Property Value
The default value is Tile.
- Attributes
Remarks
The system may not always use the resizing mode specified by this property. Rather, it will use the "fastest mode possible while still retaining the desired visual appearance."
This can be used from a background thread.
Applies to
See also
- <xref:UIKit.UIImage.CreateAnimatedImage(string%2cUIKit.UIEdgeInsets%2cUIKit.UIImageResizingMode%2cdouble)>
- CreateResizableImage(UIEdgeInsets, UIImageResizingMode)