Szerkesztés

Megosztás a következőn keresztül:


UIImageView.Image Property

Definition

Thie image to display in the UIImageView.

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

Property Value

This value can be null.

Attributes

Remarks

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