WKInterfaceGroup.SetBackgroundImage Method
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.
Overloads
SetBackgroundImage(NSData) |
Sets the background image or, if passed |
SetBackgroundImage(String) |
Sets the background image to a cached image. |
SetBackgroundImage(UIImage) |
SetBackgroundImage(NSData)
Sets the background image or, if passed null
, clears the background image.
[Foundation.Export("setBackgroundImageData:")]
public virtual void SetBackgroundImage (Foundation.NSData imageData);
abstract member SetBackgroundImage : Foundation.NSData -> unit
override this.SetBackgroundImage : Foundation.NSData -> unit
Parameters
- Attributes
Remarks
The background image may be animated.
Applies to
SetBackgroundImage(String)
Sets the background image to a cached image.
[Foundation.Export("setBackgroundImageNamed:")]
public virtual void SetBackgroundImage (string imageName);
abstract member SetBackgroundImage : string -> unit
override this.SetBackgroundImage : string -> unit
Parameters
- imageName
- String
The identifier of the desired image in the device's image cache.
This parameter can be null
.
- Attributes
Remarks
The background image may be animated.
Applies to
SetBackgroundImage(UIImage)
[Foundation.Export("setBackgroundImage:")]
public virtual void SetBackgroundImage (UIKit.UIImage image);
abstract member SetBackgroundImage : UIKit.UIImage -> unit
override this.SetBackgroundImage : UIKit.UIImage -> unit
Parameters
- Attributes