3 implementations of IAnnotationComponent
PresentationFramework (3)
src\Framework\MS\Internal\Annotations\Component\HighlightComponent.cs (1)
38internal class HighlightComponent : Canvas, IAnnotationComponent, IHighlightRange
src\Framework\MS\Internal\Annotations\Component\MArkedHighlightComponent.cs (1)
47internal sealed class MarkedHighlightComponent : Canvas, IAnnotationComponent
src\Framework\System\Windows\Controls\StickyNote.cs (1)
91IAnnotationComponent
62 references to IAnnotationComponent
PresentationFramework (62)
src\Framework\MS\Internal\Annotations\Component\AdornerPresentationContext.cs (13)
77internal static void HostComponent(AdornerLayer adornerLayer, IAnnotationComponent component, UIElement annotatedElement, bool reorder) 185public override void AddToHost(IAnnotationComponent component) 200public override void RemoveFromHost(IAnnotationComponent component, bool reorder) 236public override void InvalidateTransform(IAnnotationComponent component) 246public override void BringToFront(IAnnotationComponent component) 264public override void SendToBack(IAnnotationComponent component) 334public void UpdateComponentZOrder(IAnnotationComponent component) 378private bool IsInternalComponent(IAnnotationComponent component) 390private AnnotationAdorner FindAnnotationAdorner(IAnnotationComponent component) 410private List<AnnotationAdorner> GetTopAnnotationAdorners(int level, IAnnotationComponent component) 424IAnnotationComponent childComponent = adorner.AnnotationComponent; 499private AnnotationAdorner GetAnnotationAdorner(IAnnotationComponent component) 520private static int GetComponentLevel(IAnnotationComponent component)
src\Framework\MS\Internal\Annotations\Component\AnnotationAdorner.cs (3)
41public AnnotationAdorner(IAnnotationComponent component, UIElement annotatedElement): base(annotatedElement) 198internal IAnnotationComponent AnnotationComponent 233private IAnnotationComponent _annotationComponent;
src\Framework\MS\Internal\Annotations\Component\AnnotationComponentManager.cs (14)
67IAnnotationComponent component = FindComponent(attachedAnnotation); 92IList<IAnnotationComponent> currentList = _attachedAnnotations[attachedAnnotation]; 95foreach (IAnnotationComponent component in currentList) 148private IAnnotationComponent FindComponent(IAttachedAnnotation attachedAnnotation) 158IAnnotationComponent component = chooser.ChooseAnnotationComponent(attachedAnnotation); 170private void AddComponent(IAttachedAnnotation attachedAnnotation, IAnnotationComponent component, bool reorder) 236IAnnotationComponent newComponent = FindComponent(attachedAnnotation); 243IList<IAnnotationComponent> currentList = _attachedAnnotations[attachedAnnotation]; //save the current list 250foreach (IAnnotationComponent component in currentList) 276private void AddToAttachedAnnotations(IAttachedAnnotation attachedAnnotation, IAnnotationComponent component) 281IList<IAnnotationComponent> currentList; 285currentList = new List<IAnnotationComponent>(); 300private Dictionary<IAttachedAnnotation, IList<IAnnotationComponent>> _attachedAnnotations = new Dictionary<IAttachedAnnotation, IList<IAnnotationComponent>>();
src\Framework\MS\Internal\Annotations\Component\MArkedHighlightComponent.cs (2)
1125private int Compare(IAnnotationComponent first, IAnnotationComponent second)
src\Framework\MS\Internal\Annotations\Component\PresentationContext.cs (5)
51public abstract void AddToHost(IAnnotationComponent component); 59public abstract void RemoveFromHost(IAnnotationComponent component, bool reorder); 66public abstract void InvalidateTransform(IAnnotationComponent component); 72public abstract void BringToFront(IAnnotationComponent component); 78public abstract void SendToBack(IAnnotationComponent component);
src\Framework\MS\Internal\Controls\StickyNote\StickyNoteAnnotations.cs (17)
128service = AnnotationService.GetService(((IAnnotationComponent)snc).AnnotatedElement); 273((IAnnotationComponent)snc).ZOrder = Convert.ToInt32(node.Value, CultureInfo.InvariantCulture); 873sncAnnotation.UpdateAttribute(root, XmlToken.ZOrder, ((IAnnotationComponent)snc).ZOrder.ToString(CultureInfo.InvariantCulture)); 923void IAnnotationComponent.AddAttachedAnnotation(IAttachedAnnotation attachedAnnotation) 950void IAnnotationComponent.RemoveAttachedAnnotation(IAttachedAnnotation attachedAnnotation) 982void IAnnotationComponent.ModifyAttachedAnnotation(IAttachedAnnotation attachedAnnotation, object previousAttachedAnchor, AttachmentLevel previousAttachmentLevel) 991IList IAnnotationComponent.AttachedAnnotations 1012GeneralTransform IAnnotationComponent.GetDesiredTransform(GeneralTransform transform) 1110UIElement IAnnotationComponent.AnnotatedElement 1122PresentationContext IAnnotationComponent.PresentationContext 1139int IAnnotationComponent.ZOrder 1156bool IAnnotationComponent.IsDirty 1393Debug.Assert(((IAnnotationComponent)this).AnnotatedElement != null, "undefined annotated element"); 1394FrameworkElement target = ((IAnnotationComponent)this).AnnotatedElement as FrameworkElement; 1435/// Schedules BringIntoView call on <see cref="IAnnotationComponent.AnnotatedElement"/> from <see cref="OnRequestBringIntoView"/> 1607IAnnotationComponent component = (IAnnotationComponent)this;
src\Framework\System\Windows\Annotations\AnnotationComponentChooser.cs (5)
65public IAnnotationComponent ChooseAnnotationComponent(IAttachedAnnotation attachedAnnotation) 69IAnnotationComponent ac = null; 74ac = new StickyNoteControl(StickyNoteType.Text) as IAnnotationComponent; 79ac = new StickyNoteControl(StickyNoteType.Ink) as IAnnotationComponent; 84ac = new HighlightComponent() as IAnnotationComponent;
src\Framework\System\Windows\Controls\StickyNote.cs (3)
1423PresentationContext pc = ((IAnnotationComponent)this).PresentationContext; 1437PresentationContext pc = ((IAnnotationComponent)this).PresentationContext; 1449PresentationContext pc = ((IAnnotationComponent)this).PresentationContext;