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)
557_DPHost.SetValue(StickyNoteControl.IsActiveProperty, false); 565_DPHost.SetValue(StickyNoteControl.IsActiveProperty, true); 706bool currentState = (bool)_DPHost.GetValue(StickyNoteControl.IsMouseOverAnchorProperty); 710_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)
78return CreateStickyNoteForSelection(service, StickyNoteControl.TextSchemaName, author); 94return CreateStickyNoteForSelection(service, StickyNoteControl.InkSchemaName, author); 136DeleteSpannedAnnotations(service, StickyNoteControl.TextSchemaName); 159DeleteSpannedAnnotations(service, StickyNoteControl.InkSchemaName); 810annotationType == StickyNoteControl.TextSchemaName || 811annotationType == StickyNoteControl.InkSchemaName), "Invalid Annotation Type"); 888annotationType == StickyNoteControl.TextSchemaName || 889annotationType == StickyNoteControl.InkSchemaName), "Invalid Annotation Type");
System\Windows\Annotations\AnnotationService.cs (1)
729AdornerPresentationContext.SetTypeZLevel(typeof(StickyNoteControl), 0);
System\Windows\Controls\StickyNote.cs (45)
80Type owner = typeof(StickyNoteControl); 101CommandHelpers.RegisterCommandHandler(typeof(StickyNoteControl), StickyNoteControl.DeleteNoteCommand, 103CommandHelpers.RegisterCommandHandler(typeof(StickyNoteControl), StickyNoteControl.InkCommand, 230typeof(StickyNoteControl), 245return (String)GetValue(StickyNoteControl.AuthorProperty); 257typeof(StickyNoteControl), 278typeof(StickyNoteControl), 289return (bool)GetValue(StickyNoteControl.IsActiveProperty); 300typeof(StickyNoteControl), 316return (bool) GetValue(StickyNoteControl.IsMouseOverAnchorProperty); 329typeof(StickyNoteControl), 352typeof(StickyNoteControl), 375typeof(StickyNoteControl), 397typeof(FontStyle), typeof(StickyNoteControl), 420typeof(StickyNoteControl), 443typeof(StickyNoteControl), 465typeof(StickyNoteControl), 507public static readonly RoutedCommand DeleteNoteCommand = new RoutedCommand("DeleteNote", typeof(StickyNoteControl)); 512public static readonly RoutedCommand InkCommand = new RoutedCommand("Ink", typeof(StickyNoteControl)); 751typeof(StickyNoteControl), 786StickyNoteControl snc = (StickyNoteControl)d; 793StickyNoteControl stickyNoteControl = (StickyNoteControl)d; 808StickyNoteControl stickyNoteControl = (StickyNoteControl)d; 868StickyNoteControl snc = sender as StickyNoteControl; 1476stickyNoteInkEditingMode.Path = new PropertyPath(StickyNoteControl.InkEditingModeProperty); 1694StickyNoteControl snc = sender as StickyNoteControl; 1697Invariant.Assert(command == StickyNoteControl.DeleteNoteCommand 1698|| command == StickyNoteControl.InkCommand, "Unknown Commands"); 1700if ( command == StickyNoteControl.DeleteNoteCommand ) 1705else if (command == StickyNoteControl.InkCommand) 1730StickyNoteControl snc = sender as StickyNoteControl; 1733Invariant.Assert(command == StickyNoteControl.DeleteNoteCommand 1734|| command == StickyNoteControl.InkCommand, "Unknown Commands"); 1736if ( command == StickyNoteControl.DeleteNoteCommand ) 1741else if (command == StickyNoteControl.InkCommand) 1951public StrokeChangedHandler(StickyNoteControl snc) 1964private StickyNoteControl _snc;
System\Windows\Markup\Baml2006\Baml2006KnownTypes.cs (1)
700case 606: t = () => typeof(StickyNoteControl); break;
System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
9494typeof(System.Windows.Controls.StickyNoteControl),
System\Windows\Markup\KnownTypes.cs (1)
6160case KnownElements.StickyNoteControl: t = typeof(System.Windows.Controls.StickyNoteControl); break;