2 instantiations of StickyNoteControl
PresentationFramework (2)
System\Windows\Annotations\AnnotationComponentChooser.cs (2)
69ac = new StickyNoteControl(StickyNoteType.Text) as IAnnotationComponent; 74ac = new StickyNoteControl(StickyNoteType.Ink) as IAnnotationComponent;
69 references to StickyNoteControl
PresentationFramework (69)
MS\Internal\Annotations\Component\MarkedHighlightComponent.cs (4)
563_DPHost.SetValue(StickyNoteControl.IsActiveProperty, false); 571_DPHost.SetValue(StickyNoteControl.IsActiveProperty, true); 712bool currentState = (bool)_DPHost.GetValue(StickyNoteControl.IsMouseOverAnchorProperty); 716_DPHost.SetValue(StickyNoteControl.IsMouseOverAnchorPropertyKey, newState);
MS\Internal\Controls\StickyNote\StickyNoteAnnotations.cs (6)
116public static void UpdateAnnotation(XmlToken token, StickyNoteControl snc, SNCAnnotation sncAnnotation) 168public static void UpdateStickyNoteControl(XmlToken token, StickyNoteControl snc, SNCAnnotation sncAnnotation) 213snc.SetValue(StickyNoteControl.AuthorPropertyKey, authors); 257snc.ClearValue(StickyNoteControl.IsExpandedProperty); 715private void UpdateContent(StickyNoteControl snc, bool updateAnnotation, XmlToken token) 797private static void UpdateMetaData(XmlToken token, StickyNoteControl snc, SNCAnnotation sncAnnotation)
System\Windows\Annotations\AnnotationComponentChooser.cs (2)
67if (attachedAnnotation.Annotation.AnnotationType == StickyNoteControl.TextSchemaName) 72else if (attachedAnnotation.Annotation.AnnotationType == StickyNoteControl.InkSchemaName)
System\Windows\Annotations\AnnotationHelper.cs (8)
90return CreateStickyNoteForSelection(service, StickyNoteControl.TextSchemaName, author); 106return CreateStickyNoteForSelection(service, StickyNoteControl.InkSchemaName, author); 148DeleteSpannedAnnotations(service, StickyNoteControl.TextSchemaName); 171DeleteSpannedAnnotations(service, StickyNoteControl.InkSchemaName); 822annotationType == StickyNoteControl.TextSchemaName || 823annotationType == StickyNoteControl.InkSchemaName), "Invalid Annotation Type"); 900annotationType == StickyNoteControl.TextSchemaName || 901annotationType == StickyNoteControl.InkSchemaName), "Invalid Annotation Type");
System\Windows\Annotations\AnnotationService.cs (1)
741AdornerPresentationContext.SetTypeZLevel(typeof(StickyNoteControl), 0);
System\Windows\Controls\StickyNote.cs (45)
96Type owner = typeof(StickyNoteControl); 117CommandHelpers.RegisterCommandHandler(typeof(StickyNoteControl), StickyNoteControl.DeleteNoteCommand, 119CommandHelpers.RegisterCommandHandler(typeof(StickyNoteControl), StickyNoteControl.InkCommand, 246typeof(StickyNoteControl), 261return (String)GetValue(StickyNoteControl.AuthorProperty); 273typeof(StickyNoteControl), 294typeof(StickyNoteControl), 305return (bool)GetValue(StickyNoteControl.IsActiveProperty); 316typeof(StickyNoteControl), 332return (bool) GetValue(StickyNoteControl.IsMouseOverAnchorProperty); 345typeof(StickyNoteControl), 368typeof(StickyNoteControl), 391typeof(StickyNoteControl), 413typeof(FontStyle), typeof(StickyNoteControl), 436typeof(StickyNoteControl), 459typeof(StickyNoteControl), 481typeof(StickyNoteControl), 523public static readonly RoutedCommand DeleteNoteCommand = new RoutedCommand("DeleteNote", typeof(StickyNoteControl)); 528public static readonly RoutedCommand InkCommand = new RoutedCommand("Ink", typeof(StickyNoteControl)); 767typeof(StickyNoteControl), 802StickyNoteControl snc = (StickyNoteControl)d; 809StickyNoteControl stickyNoteControl = (StickyNoteControl)d; 824StickyNoteControl stickyNoteControl = (StickyNoteControl)d; 884StickyNoteControl snc = sender as StickyNoteControl; 1492stickyNoteInkEditingMode.Path = new PropertyPath(StickyNoteControl.InkEditingModeProperty); 1710StickyNoteControl snc = sender as StickyNoteControl; 1713Invariant.Assert(command == StickyNoteControl.DeleteNoteCommand 1714|| command == StickyNoteControl.InkCommand, "Unknown Commands"); 1716if ( command == StickyNoteControl.DeleteNoteCommand ) 1721else if (command == StickyNoteControl.InkCommand) 1746StickyNoteControl snc = sender as StickyNoteControl; 1749Invariant.Assert(command == StickyNoteControl.DeleteNoteCommand 1750|| command == StickyNoteControl.InkCommand, "Unknown Commands"); 1752if ( command == StickyNoteControl.DeleteNoteCommand ) 1757else if (command == StickyNoteControl.InkCommand) 1967public StrokeChangedHandler(StickyNoteControl snc) 1980private StickyNoteControl _snc;
System\Windows\Markup\Baml2006\Baml2006KnownTypes.cs (1)
702case 606: t = () => typeof(StickyNoteControl); break;
System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
9496typeof(System.Windows.Controls.StickyNoteControl),
System\Windows\Markup\KnownTypes.cs (1)
6160case KnownElements.StickyNoteControl: t = typeof(System.Windows.Controls.StickyNoteControl); break;