2 instantiations of StickyNoteControl
PresentationFramework (2)
System\Windows\Annotations\AnnotationComponentChooser.cs (2)
64ac = new StickyNoteControl(StickyNoteType.Text) as IAnnotationComponent; 69ac = new StickyNoteControl(StickyNoteType.Ink) as IAnnotationComponent;
69 references to StickyNoteControl
PresentationFramework (69)
MS\Internal\Annotations\Component\MarkedHighlightComponent.cs (4)
555_DPHost.SetValue(StickyNoteControl.IsActiveProperty, false); 562_DPHost.SetValue(StickyNoteControl.IsActiveProperty, true); 709bool currentState = (bool)_DPHost.GetValue(StickyNoteControl.IsMouseOverAnchorProperty); 713_DPHost.SetValue(StickyNoteControl.IsMouseOverAnchorPropertyKey, newState);
MS\Internal\Controls\StickyNote\StickyNoteAnnotations.cs (6)
105public static void UpdateAnnotation(XmlToken token, StickyNoteControl snc, SNCAnnotation sncAnnotation) 157public static void UpdateStickyNoteControl(XmlToken token, StickyNoteControl snc, SNCAnnotation sncAnnotation) 202snc.SetValue(StickyNoteControl.AuthorPropertyKey, authors); 246snc.ClearValue(StickyNoteControl.IsExpandedProperty); 704private void UpdateContent(StickyNoteControl snc, bool updateAnnotation, XmlToken token) 786private static void UpdateMetaData(XmlToken token, StickyNoteControl snc, SNCAnnotation sncAnnotation)
System\Windows\Annotations\AnnotationComponentChooser.cs (2)
62if (attachedAnnotation.Annotation.AnnotationType == StickyNoteControl.TextSchemaName) 67else if (attachedAnnotation.Annotation.AnnotationType == StickyNoteControl.InkSchemaName)
System\Windows\Annotations\AnnotationHelper.cs (8)
75return CreateStickyNoteForSelection(service, StickyNoteControl.TextSchemaName, author); 91return CreateStickyNoteForSelection(service, StickyNoteControl.InkSchemaName, author); 133DeleteSpannedAnnotations(service, StickyNoteControl.TextSchemaName); 156DeleteSpannedAnnotations(service, StickyNoteControl.InkSchemaName); 807annotationType == StickyNoteControl.TextSchemaName || 808annotationType == StickyNoteControl.InkSchemaName), "Invalid Annotation Type"); 885annotationType == StickyNoteControl.TextSchemaName || 886annotationType == StickyNoteControl.InkSchemaName), "Invalid Annotation Type");
System\Windows\Annotations\AnnotationService.cs (1)
723AdornerPresentationContext.SetTypeZLevel(typeof(StickyNoteControl), 0);
System\Windows\Controls\StickyNote.cs (45)
68Type owner = typeof(StickyNoteControl); 89CommandHelpers.RegisterCommandHandler(typeof(StickyNoteControl), StickyNoteControl.DeleteNoteCommand, 91CommandHelpers.RegisterCommandHandler(typeof(StickyNoteControl), StickyNoteControl.InkCommand, 212typeof(StickyNoteControl), 227return (String)GetValue(StickyNoteControl.AuthorProperty); 239typeof(StickyNoteControl), 260typeof(StickyNoteControl), 271return (bool)GetValue(StickyNoteControl.IsActiveProperty); 282typeof(StickyNoteControl), 298return (bool) GetValue(StickyNoteControl.IsMouseOverAnchorProperty); 311typeof(StickyNoteControl), 334typeof(StickyNoteControl), 357typeof(StickyNoteControl), 379typeof(FontStyle), typeof(StickyNoteControl), 402typeof(StickyNoteControl), 425typeof(StickyNoteControl), 447typeof(StickyNoteControl), 489public static readonly RoutedCommand DeleteNoteCommand = new RoutedCommand("DeleteNote", typeof(StickyNoteControl)); 494public static readonly RoutedCommand InkCommand = new RoutedCommand("Ink", typeof(StickyNoteControl)); 733typeof(StickyNoteControl), 768StickyNoteControl snc = (StickyNoteControl)d; 775StickyNoteControl stickyNoteControl = (StickyNoteControl)d; 789StickyNoteControl stickyNoteControl = (StickyNoteControl)d; 848StickyNoteControl snc = sender as StickyNoteControl; 1441Path = new PropertyPath(StickyNoteControl.InkEditingModeProperty), 1668StickyNoteControl snc = sender as StickyNoteControl; 1671Invariant.Assert(command == StickyNoteControl.DeleteNoteCommand 1672|| command == StickyNoteControl.InkCommand, "Unknown Commands"); 1674if ( command == StickyNoteControl.DeleteNoteCommand ) 1679else if (command == StickyNoteControl.InkCommand) 1704StickyNoteControl snc = sender as StickyNoteControl; 1707Invariant.Assert(command == StickyNoteControl.DeleteNoteCommand 1708|| command == StickyNoteControl.InkCommand, "Unknown Commands"); 1710if ( command == StickyNoteControl.DeleteNoteCommand ) 1715else if (command == StickyNoteControl.InkCommand) 1925public StrokeChangedHandler(StickyNoteControl snc) 1938private StickyNoteControl _snc;
System\Windows\Markup\Baml2006\Baml2006KnownTypes.cs (1)
699case 606: t = () => typeof(StickyNoteControl); break;
System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
10525typeof(System.Windows.Controls.StickyNoteControl),
System\Windows\Markup\KnownTypes.cs (1)
6153case KnownElements.StickyNoteControl: t = typeof(System.Windows.Controls.StickyNoteControl); break;