public InkCanvasAnnotationControl(
            InkCanvasAnnotation InkCanvasAnnotation)
        {
            InitializeComponent();

            if (InkCanvasAnnotation == null)
                throw new ArgumentNullException("InkCanvasAnnotation");

            _InkCanvasAnnotation = InkCanvasAnnotation;

            // Establish a binding between the InkCanvasAnnotation's Text
            // and our Content property so that changes in either
            // property will update the other.
            Binding binding = new Binding("Text");
            binding.Source = _InkCanvasAnnotation;
            binding.Mode = BindingMode.TwoWay;
            this.SetBinding(ContentControl.ContentProperty, binding);

            // Allow this control to be focused,
            // so that we can steal focus from the
            // TextBox used to edit the annotation.
            base.Focusable = true;

            // Prevent the control from having a focus rect.
            base.FocusVisualStyle = null;

            this.IsInEditMode = true;
        }
        public InkCanvasAnnotationAdorner(
            InkCanvasAnnotation InkCanvasAnnotation,
            InkCanvas adornedInkCanvas,
            Point location)
            : base(adornedInkCanvas)
        {
            _location = location;

            _control = new InkCanvasAnnotationControl(InkCanvasAnnotation);

            base.AddLogicalChild(_control);
            base.AddVisualChild(_control);
        }