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)
70internal static void HostComponent(AdornerLayer adornerLayer, IAnnotationComponent component, UIElement annotatedElement, bool reorder) 169public override void AddToHost(IAnnotationComponent component) 184public override void RemoveFromHost(IAnnotationComponent component, bool reorder) 220public override void InvalidateTransform(IAnnotationComponent component) 230public override void BringToFront(IAnnotationComponent component) 248public override void SendToBack(IAnnotationComponent component) 318public void UpdateComponentZOrder(IAnnotationComponent component) 362private bool IsInternalComponent(IAnnotationComponent component) 374private AnnotationAdorner FindAnnotationAdorner(IAnnotationComponent component) 394private List<AnnotationAdorner> GetTopAnnotationAdorners(int level, IAnnotationComponent component) 408IAnnotationComponent childComponent = adorner.AnnotationComponent; 483private AnnotationAdorner GetAnnotationAdorner(IAnnotationComponent component) 504private 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;