2 instantiations of StickyNoteControl
PresentationFramework (2)
System\Windows\Annotations\AnnotationComponentChooser.cs (2)
65ac = new StickyNoteControl(StickyNoteType.Text) as IAnnotationComponent; 70ac = new StickyNoteControl(StickyNoteType.Ink) as IAnnotationComponent;
69 references to StickyNoteControl
PresentationFramework (69)
MS\Internal\Annotations\Component\MarkedHighlightComponent.cs (4)
556_DPHost.SetValue(StickyNoteControl.IsActiveProperty, false); 563_DPHost.SetValue(StickyNoteControl.IsActiveProperty, true); 710bool currentState = (bool)_DPHost.GetValue(StickyNoteControl.IsMouseOverAnchorProperty); 714_DPHost.SetValue(StickyNoteControl.IsMouseOverAnchorPropertyKey, newState);
MS\Internal\Controls\StickyNote\StickyNoteAnnotations.cs (6)
106public static void UpdateAnnotation(XmlToken token, StickyNoteControl snc, SNCAnnotation sncAnnotation) 158public static void UpdateStickyNoteControl(XmlToken token, StickyNoteControl snc, SNCAnnotation sncAnnotation) 203snc.SetValue(StickyNoteControl.AuthorPropertyKey, authors); 247snc.ClearValue(StickyNoteControl.IsExpandedProperty); 705private void UpdateContent(StickyNoteControl snc, bool updateAnnotation, XmlToken token) 787private static void UpdateMetaData(XmlToken token, StickyNoteControl snc, SNCAnnotation sncAnnotation)
System\Windows\Annotations\AnnotationComponentChooser.cs (2)
63if (attachedAnnotation.Annotation.AnnotationType == StickyNoteControl.TextSchemaName) 68else if (attachedAnnotation.Annotation.AnnotationType == StickyNoteControl.InkSchemaName)
System\Windows\Annotations\AnnotationHelper.cs (8)
76return CreateStickyNoteForSelection(service, StickyNoteControl.TextSchemaName, author); 92return CreateStickyNoteForSelection(service, StickyNoteControl.InkSchemaName, author); 134DeleteSpannedAnnotations(service, StickyNoteControl.TextSchemaName); 157DeleteSpannedAnnotations(service, StickyNoteControl.InkSchemaName); 808annotationType == StickyNoteControl.TextSchemaName || 809annotationType == StickyNoteControl.InkSchemaName), "Invalid Annotation Type"); 886annotationType == StickyNoteControl.TextSchemaName || 887annotationType == StickyNoteControl.InkSchemaName), "Invalid Annotation Type");
System\Windows\Annotations\AnnotationService.cs (1)
724AdornerPresentationContext.SetTypeZLevel(typeof(StickyNoteControl), 0);
System\Windows\Controls\StickyNote.cs (45)
69Type owner = typeof(StickyNoteControl); 90CommandHelpers.RegisterCommandHandler(typeof(StickyNoteControl), StickyNoteControl.DeleteNoteCommand, 92CommandHelpers.RegisterCommandHandler(typeof(StickyNoteControl), StickyNoteControl.InkCommand, 213typeof(StickyNoteControl), 228return (String)GetValue(StickyNoteControl.AuthorProperty); 240typeof(StickyNoteControl), 261typeof(StickyNoteControl), 272return (bool)GetValue(StickyNoteControl.IsActiveProperty); 283typeof(StickyNoteControl), 299return (bool) GetValue(StickyNoteControl.IsMouseOverAnchorProperty); 312typeof(StickyNoteControl), 335typeof(StickyNoteControl), 358typeof(StickyNoteControl), 380typeof(FontStyle), typeof(StickyNoteControl), 403typeof(StickyNoteControl), 426typeof(StickyNoteControl), 448typeof(StickyNoteControl), 490public static readonly RoutedCommand DeleteNoteCommand = new RoutedCommand("DeleteNote", typeof(StickyNoteControl)); 495public static readonly RoutedCommand InkCommand = new RoutedCommand("Ink", typeof(StickyNoteControl)); 734typeof(StickyNoteControl), 769StickyNoteControl snc = (StickyNoteControl)d; 776StickyNoteControl stickyNoteControl = (StickyNoteControl)d; 790StickyNoteControl stickyNoteControl = (StickyNoteControl)d; 849StickyNoteControl snc = sender as StickyNoteControl; 1442Path = new PropertyPath(StickyNoteControl.InkEditingModeProperty), 1669StickyNoteControl snc = sender as StickyNoteControl; 1672Invariant.Assert(command == StickyNoteControl.DeleteNoteCommand 1673|| command == StickyNoteControl.InkCommand, "Unknown Commands"); 1675if ( command == StickyNoteControl.DeleteNoteCommand ) 1680else if (command == StickyNoteControl.InkCommand) 1705StickyNoteControl snc = sender as StickyNoteControl; 1708Invariant.Assert(command == StickyNoteControl.DeleteNoteCommand 1709|| command == StickyNoteControl.InkCommand, "Unknown Commands"); 1711if ( command == StickyNoteControl.DeleteNoteCommand ) 1716else if (command == StickyNoteControl.InkCommand) 1926public StrokeChangedHandler(StickyNoteControl snc) 1939private StickyNoteControl _snc;
System\Windows\Markup\Baml2006\Baml2006KnownTypes.cs (1)
700case 606: t = () => typeof(StickyNoteControl); break;
System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
10526typeof(System.Windows.Controls.StickyNoteControl),
System\Windows\Markup\KnownTypes.cs (1)
6154case KnownElements.StickyNoteControl: t = typeof(System.Windows.Controls.StickyNoteControl); break;