UIImageView.Image Property


Thie image to display in the UIImageView.

[get: Foundation.Export("image", ObjCRuntime.ArgumentSemantic.Strong)]
[set: Foundation.Export("setImage:", ObjCRuntime.ArgumentSemantic.Strong)]
public virtual UIKit.UIImage Image { get; set; }
member this.Image : UIKit.UIImage with get, set

Property Value

This value can be null.



The initial value of this property is the image passed in C:UIKit.UIImageView(UIKit.UIImage), or null if a different constructor was used.

Setting this property does does not change the size of a UIImageView. Call SizeToFit() to adjust the size of the view to match the image.

If AnimationImages is non-null, the Image property is ignored.

Applies to