protected virtual void OnMouseDownImage(MouseDownImageEventArgs e) { if (MouseDownImage != null) { MouseDownImage(this, e); } }
void photonav_MouseDownImage(object sender, MouseDownImageEventArgs e) { BigImage.Source = e.photoinfo.ImageSource; BigCanvas.MaxHeight = this.ActualHeight - 30; BigCanvas.Height = BigCanvas.MaxHeight; BigCanvas.Visibility = Visibility.Visible; BigImage.Visibility = Visibility.Visible; }