Control ClearBitmapTest() { var control = new DrawableImageView { Image = GenerateImage(), Size = new Size(200, 200), BackgroundColor = Colors.Yellow }; PropertyChanged += (sender, e) => control.Image = GenerateImage(); return(control); }
Control ClearBitmapTest() { var control = new DrawableImageView { Image = CreateImage(), Size = new Size(200, 200), BackgroundColor = Colors.Yellow }; PropertyChanged += (sender, e) => control.Image = CreateImage(); return control; }