3 implementations of IAnnotationComponent
PresentationFramework (3)
MS\Internal\Annotations\Component\HighlightComponent.cs (1)
26internal class HighlightComponent : Canvas, IAnnotationComponent, IHighlightRange
MS\Internal\Annotations\Component\MarkedHighlightComponent.cs (1)
37internal sealed class MarkedHighlightComponent : Canvas, IAnnotationComponent
System\Windows\Controls\StickyNote.cs (1)
54IAnnotationComponent
62 references to IAnnotationComponent
PresentationFramework (62)
MS\Internal\Annotations\Component\AdornerPresentationContext.cs (13)
66internal static void HostComponent(AdornerLayer adornerLayer, IAnnotationComponent component, UIElement annotatedElement, bool reorder) 165public override void AddToHost(IAnnotationComponent component) 180public override void RemoveFromHost(IAnnotationComponent component, bool reorder) 216public override void InvalidateTransform(IAnnotationComponent component) 226public override void BringToFront(IAnnotationComponent component) 244public override void SendToBack(IAnnotationComponent component) 314public void UpdateComponentZOrder(IAnnotationComponent component) 358private bool IsInternalComponent(IAnnotationComponent component) 370private AnnotationAdorner FindAnnotationAdorner(IAnnotationComponent component) 390private List<AnnotationAdorner> GetTopAnnotationAdorners(int level, IAnnotationComponent component) 404IAnnotationComponent childComponent = adorner.AnnotationComponent; 479private AnnotationAdorner GetAnnotationAdorner(IAnnotationComponent component) 500private static int GetComponentLevel(IAnnotationComponent component)
MS\Internal\Annotations\Component\AnnotationAdorner.cs (3)
32public AnnotationAdorner(IAnnotationComponent component, UIElement annotatedElement) : base(annotatedElement) 189internal IAnnotationComponent AnnotationComponent 224private IAnnotationComponent _annotationComponent;
MS\Internal\Annotations\Component\AnnotationComponentManager.cs (14)
58IAnnotationComponent component = FindComponent(attachedAnnotation); 83IList<IAnnotationComponent> currentList = _attachedAnnotations[attachedAnnotation]; 86foreach (IAnnotationComponent component in currentList) 139private IAnnotationComponent FindComponent(IAttachedAnnotation attachedAnnotation) 149IAnnotationComponent component = chooser.ChooseAnnotationComponent(attachedAnnotation); 161private void AddComponent(IAttachedAnnotation attachedAnnotation, IAnnotationComponent component, bool reorder) 226IAnnotationComponent newComponent = FindComponent(attachedAnnotation); 233IList<IAnnotationComponent> currentList = _attachedAnnotations[attachedAnnotation]; //save the current list 240foreach (IAnnotationComponent component in currentList) 266private void AddToAttachedAnnotations(IAttachedAnnotation attachedAnnotation, IAnnotationComponent component) 271IList<IAnnotationComponent> currentList; 275currentList = new List<IAnnotationComponent>(); 290private 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)
45public abstract void AddToHost(IAnnotationComponent component); 53public abstract void RemoveFromHost(IAnnotationComponent component, bool reorder); 60public abstract void InvalidateTransform(IAnnotationComponent component); 66public abstract void BringToFront(IAnnotationComponent component); 72public abstract void SendToBack(IAnnotationComponent component);
MS\Internal\Controls\StickyNote\StickyNoteAnnotations.cs (17)
112service = AnnotationService.GetService(((IAnnotationComponent)snc).AnnotatedElement); 257((IAnnotationComponent)snc).ZOrder = Convert.ToInt32(node.Value, CultureInfo.InvariantCulture); 856sncAnnotation.UpdateAttribute(root, XmlToken.ZOrder, ((IAnnotationComponent)snc).ZOrder.ToString(CultureInfo.InvariantCulture)); 904void IAnnotationComponent.AddAttachedAnnotation(IAttachedAnnotation attachedAnnotation) 928void IAnnotationComponent.RemoveAttachedAnnotation(IAttachedAnnotation attachedAnnotation) 956void IAnnotationComponent.ModifyAttachedAnnotation(IAttachedAnnotation attachedAnnotation, object previousAttachedAnchor, AttachmentLevel previousAttachmentLevel) 965IList IAnnotationComponent.AttachedAnnotations 986GeneralTransform IAnnotationComponent.GetDesiredTransform(GeneralTransform transform) 1085UIElement IAnnotationComponent.AnnotatedElement 1097PresentationContext IAnnotationComponent.PresentationContext 1114int IAnnotationComponent.ZOrder 1131bool IAnnotationComponent.IsDirty 1368Debug.Assert(((IAnnotationComponent)this).AnnotatedElement != null, "undefined annotated element"); 1369FrameworkElement target = ((IAnnotationComponent)this).AnnotatedElement as FrameworkElement; 1409/// Schedules BringIntoView call on <see cref="IAnnotationComponent.AnnotatedElement"/> from <see cref="OnRequestBringIntoView"/> 1581IAnnotationComponent component = (IAnnotationComponent)this;
System\Windows\Annotations\AnnotationComponentChooser.cs (5)
56public IAnnotationComponent ChooseAnnotationComponent(IAttachedAnnotation attachedAnnotation) 60IAnnotationComponent ac = null; 65ac = new StickyNoteControl(StickyNoteType.Text) as IAnnotationComponent; 70ac = new StickyNoteControl(StickyNoteType.Ink) as IAnnotationComponent; 75ac = new HighlightComponent() as IAnnotationComponent;
System\Windows\Controls\StickyNote.cs (3)
1386PresentationContext pc = ((IAnnotationComponent)this).PresentationContext; 1400PresentationContext pc = ((IAnnotationComponent)this).PresentationContext; 1412PresentationContext pc = ((IAnnotationComponent)this).PresentationContext;