Exemplo n.º 1
0
 void IImageElement.OnImageSourceSourceChanged(object sender, EventArgs e) =>
 ImageElement.ImageSourceSourceChanged(this, e);
Exemplo n.º 2
0
 protected override void OnBindingContextChanged()
 {
     ImageElement.OnBindingContextChanged(this, this);
     base.OnBindingContextChanged();
 }
Exemplo n.º 3
0
        protected override SizeRequest OnMeasure(double widthConstraint, double heightConstraint)
        {
            SizeRequest desiredSize = base.OnMeasure(double.PositiveInfinity, double.PositiveInfinity);

            return(ImageElement.Measure(this, desiredSize, widthConstraint, heightConstraint));
        }
Exemplo n.º 4
0
 bool IImageController.GetLoadAsAnimation() => ImageElement.GetLoadAsAnimation(this);