Beispiel #1
0
 void IImageElement.OnImageSourceSourceChanged(object sender, EventArgs e) =>
 ImageElement.ImageSourceSourceChanged(this, e);
Beispiel #2
0
 protected override void OnBindingContextChanged()
 {
     ImageElement.OnBindingContextChanged(this, this);
     base.OnBindingContextChanged();
 }
Beispiel #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));
        }
Beispiel #4
0
 bool IImageController.GetLoadAsAnimation() => ImageElement.GetLoadAsAnimation(this);