Beispiel #1
0
        protected override SizeRequest OnMeasure(double widthConstraint, double heightConstraint)
        {
            SizeRequest desiredSize = base.OnMeasure(double.PositiveInfinity, double.PositiveInfinity);

            return(ImageElementManager.Measure(this, desiredSize, widthConstraint, heightConstraint));
        }
Beispiel #2
0
 void OnImageSourcesSourceChanged(object sender, EventArgs e) =>
 ImageElementManager.ImageSourcesSourceChanged(this, EventArgs.Empty);
Beispiel #3
0
 protected override void OnBindingContextChanged()
 {
     ImageElementManager.OnBindingContextChanged(this, this);
     base.OnBindingContextChanged();
 }