3 implementations of IAnnotationComponent
PresentationFramework (3)
MS\Internal\Annotations\Component\HighlightComponent.cs (1)
34internal class HighlightComponent : Canvas, IAnnotationComponent, IHighlightRange
MS\Internal\Annotations\Component\MarkedHighlightComponent.cs (1)
43internal sealed class MarkedHighlightComponent : Canvas, IAnnotationComponent
System\Windows\Controls\StickyNote.cs (1)
81IAnnotationComponent
62 references to IAnnotationComponent
PresentationFramework (62)
MS\Internal\Annotations\Component\AdornerPresentationContext.cs (13)
71internal static void HostComponent(AdornerLayer adornerLayer, IAnnotationComponent component, UIElement annotatedElement, bool reorder) 178public override void AddToHost(IAnnotationComponent component) 193public override void RemoveFromHost(IAnnotationComponent component, bool reorder) 229public override void InvalidateTransform(IAnnotationComponent component) 239public override void BringToFront(IAnnotationComponent component) 257public override void SendToBack(IAnnotationComponent component) 327public void UpdateComponentZOrder(IAnnotationComponent component) 371private bool IsInternalComponent(IAnnotationComponent component) 383private AnnotationAdorner FindAnnotationAdorner(IAnnotationComponent component) 403private List<AnnotationAdorner> GetTopAnnotationAdorners(int level, IAnnotationComponent component) 417IAnnotationComponent childComponent = adorner.AnnotationComponent; 492private AnnotationAdorner GetAnnotationAdorner(IAnnotationComponent component) 513private static int GetComponentLevel(IAnnotationComponent component)
MS\Internal\Annotations\Component\AnnotationAdorner.cs (3)
35public AnnotationAdorner(IAnnotationComponent component, UIElement annotatedElement) : base(annotatedElement) 192internal IAnnotationComponent AnnotationComponent 227private IAnnotationComponent _annotationComponent;
MS\Internal\Annotations\Component\AnnotationComponentManager.cs (14)
62IAnnotationComponent component = FindComponent(attachedAnnotation); 87IList<IAnnotationComponent> currentList = _attachedAnnotations[attachedAnnotation]; 90foreach (IAnnotationComponent component in currentList) 143private IAnnotationComponent FindComponent(IAttachedAnnotation attachedAnnotation) 153IAnnotationComponent component = chooser.ChooseAnnotationComponent(attachedAnnotation); 165private void AddComponent(IAttachedAnnotation attachedAnnotation, IAnnotationComponent component, bool reorder) 230IAnnotationComponent newComponent = FindComponent(attachedAnnotation); 237IList<IAnnotationComponent> currentList = _attachedAnnotations[attachedAnnotation]; //save the current list 244foreach (IAnnotationComponent component in currentList) 270private void AddToAttachedAnnotations(IAttachedAnnotation attachedAnnotation, IAnnotationComponent component) 275IList<IAnnotationComponent> currentList; 279currentList = new List<IAnnotationComponent>(); 294private Dictionary<IAttachedAnnotation, IList<IAnnotationComponent>> _attachedAnnotations = new Dictionary<IAttachedAnnotation, IList<IAnnotationComponent>>();
MS\Internal\Annotations\Component\MarkedHighlightComponent.cs (2)
1102private int Compare(IAnnotationComponent first, IAnnotationComponent second)
MS\Internal\Annotations\Component\PresentationContext.cs (5)
47public abstract void AddToHost(IAnnotationComponent component); 55public abstract void RemoveFromHost(IAnnotationComponent component, bool reorder); 62public abstract void InvalidateTransform(IAnnotationComponent component); 68public abstract void BringToFront(IAnnotationComponent component); 74public abstract void SendToBack(IAnnotationComponent component);
MS\Internal\Controls\StickyNote\StickyNoteAnnotations.cs (17)
122service = AnnotationService.GetService(((IAnnotationComponent)snc).AnnotatedElement); 267((IAnnotationComponent)snc).ZOrder = Convert.ToInt32(node.Value, CultureInfo.InvariantCulture); 866sncAnnotation.UpdateAttribute(root, XmlToken.ZOrder, ((IAnnotationComponent)snc).ZOrder.ToString(CultureInfo.InvariantCulture)); 914void IAnnotationComponent.AddAttachedAnnotation(IAttachedAnnotation attachedAnnotation) 938void IAnnotationComponent.RemoveAttachedAnnotation(IAttachedAnnotation attachedAnnotation) 966void IAnnotationComponent.ModifyAttachedAnnotation(IAttachedAnnotation attachedAnnotation, object previousAttachedAnchor, AttachmentLevel previousAttachmentLevel) 975IList IAnnotationComponent.AttachedAnnotations 996GeneralTransform IAnnotationComponent.GetDesiredTransform(GeneralTransform transform) 1095UIElement IAnnotationComponent.AnnotatedElement 1107PresentationContext IAnnotationComponent.PresentationContext 1124int IAnnotationComponent.ZOrder 1141bool IAnnotationComponent.IsDirty 1378Debug.Assert(((IAnnotationComponent)this).AnnotatedElement != null, "undefined annotated element"); 1379FrameworkElement target = ((IAnnotationComponent)this).AnnotatedElement as FrameworkElement; 1419/// Schedules BringIntoView call on <see cref="IAnnotationComponent.AnnotatedElement"/> from <see cref="OnRequestBringIntoView"/> 1591IAnnotationComponent component = (IAnnotationComponent)this;
System\Windows\Annotations\AnnotationComponentChooser.cs (5)
60public IAnnotationComponent ChooseAnnotationComponent(IAttachedAnnotation attachedAnnotation) 64IAnnotationComponent ac = null; 69ac = new StickyNoteControl(StickyNoteType.Text) as IAnnotationComponent; 74ac = new StickyNoteControl(StickyNoteType.Ink) as IAnnotationComponent; 79ac = new HighlightComponent() as IAnnotationComponent;
System\Windows\Controls\StickyNote.cs (3)
1413PresentationContext pc = ((IAnnotationComponent)this).PresentationContext; 1427PresentationContext pc = ((IAnnotationComponent)this).PresentationContext; 1439PresentationContext pc = ((IAnnotationComponent)this).PresentationContext;