コード例 #1
0
        /// <summary>
        /// Invalidate the transform for this adorner. called when adorner inside changed aspects of the transform.
        /// This might go away if InvalidateMeasure works
        /// (unclear if Peter means this should work on the adorner or even one down on the annotation component itself)
        /// </summary>
        /// <param name="component">Component to invalidate transform for</param>
        public override void InvalidateTransform(IAnnotationComponent component)
        {
            AnnotationAdorner adorner = GetAnnotationAdorner(component);

            adorner.InvalidateTransform();
        }