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

            return(ImageElement.Measure(this, desiredSize, widthConstraint, heightConstraint));
        }
예제 #2
0
 void IImageElement.OnImageSourceSourceChanged(object sender, EventArgs e) =>
 ImageElement.ImageSourceSourceChanged(this, e);
예제 #3
0
 protected override void OnBindingContextChanged()
 {
     ImageElement.OnBindingContextChanged(this, this);
     base.OnBindingContextChanged();
 }