Image

Displays an image from a symbol, bundle asset, or URL.
public class Image : Control

Properties

FadesIn

Whether a URL image cross-dissolves in once it arrives, instead of popping.

Type: bool

public bool FadesIn { get; set; }

Fallback

A symbol or bundle image shown when a URL source fails to load, or null to keep the placeholder.

Type: Bindable<ImageSource?>

public Bindable<ImageSource?> Fallback { get; set; }

Placeholder

A symbol or bundle image shown while a URL source is still loading, or null for none.

Type: Bindable<ImageSource?>

public Bindable<ImageSource?> Placeholder { get; set; }

Source

Where the image is loaded from.

URL sources load asynchronously, so give them an explicit Width/Height.

Type: Bindable<ImageSource?>

public Bindable<ImageSource?> Source { get; set; }

Stretch

How the image is scaled to fill its bounds.

Type: Stretch

public Stretch Stretch { get; set; }

SymbolEffect

An ambient effect the symbol performs continuously while set.

Type: Bindable<SymbolEffect>

public Bindable<SymbolEffect> SymbolEffect { get; set; }

SymbolValue

A value from 0 to 1 driving a variable symbol's layers, such as a wifi or speaker level, or NaN for none.

Type: Bindable<double>

public Bindable<double> SymbolValue { get; set; }

Methods

PlaySymbolEffect

Plays a symbol effect once, on top of any ambient SymbolEffect.

public void PlaySymbolEffect(
  SymbolEffect effect)
ParameterSummary
SymbolEffect effectThe effect to perform.