private void OnAnnotationSelected(object sender, AnnotationsSelectedEventArgs e)
        {
            // Don't show properties if 0 or more than 1 annotation is selected
            if (e.SelectedAnnotations.Count != 1)
            {
                this.SetAndBindProperties(null);
                return;
            }

            this.SelectedAnnotation = e.SelectedAnnotations[0];
            var selectedMarkup = this.SelectedAnnotation as Markup;

            this.SetAndBindProperties(selectedMarkup);
        }
        private void OnAnnotationSelected(object sender, AnnotationsSelectedEventArgs e)
        {
            // Don't show properties if 0 or more than 1 annotation is selected
            if (e.SelectedAnnotations.Count != 1)
            {
                this.SetAndBindProperties(null);
                return;
            }

            this.SelectedAnnotation = e.SelectedAnnotations[0];
            var selectedMarkup = this.SelectedAnnotation as Markup;
            this.SetAndBindProperties(selectedMarkup);
        }