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); 712bool currentState = (bool)_DPHost.GetValue(StickyNoteControl.IsMouseOverAnchorProperty); 716_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, 219typeof(StickyNoteControl), 234return (String)GetValue(StickyNoteControl.AuthorProperty); 246typeof(StickyNoteControl), 267typeof(StickyNoteControl), 278return (bool)GetValue(StickyNoteControl.IsActiveProperty); 289typeof(StickyNoteControl), 305return (bool) GetValue(StickyNoteControl.IsMouseOverAnchorProperty); 318typeof(StickyNoteControl), 341typeof(StickyNoteControl), 364typeof(StickyNoteControl), 386typeof(FontStyle), typeof(StickyNoteControl), 409typeof(StickyNoteControl), 432typeof(StickyNoteControl), 454typeof(StickyNoteControl), 496public static readonly RoutedCommand DeleteNoteCommand = new RoutedCommand("DeleteNote", typeof(StickyNoteControl)); 501public static readonly RoutedCommand InkCommand = new RoutedCommand("Ink", typeof(StickyNoteControl)); 740typeof(StickyNoteControl), 775StickyNoteControl snc = (StickyNoteControl)d; 782StickyNoteControl stickyNoteControl = (StickyNoteControl)d; 797StickyNoteControl stickyNoteControl = (StickyNoteControl)d; 857StickyNoteControl snc = sender as StickyNoteControl; 1468Path = new PropertyPath(StickyNoteControl.InkEditingModeProperty), 1695StickyNoteControl snc = sender as StickyNoteControl; 1698Invariant.Assert(command == StickyNoteControl.DeleteNoteCommand 1699|| command == StickyNoteControl.InkCommand, "Unknown Commands"); 1701if ( command == StickyNoteControl.DeleteNoteCommand ) 1706else if (command == StickyNoteControl.InkCommand) 1731StickyNoteControl snc = sender as StickyNoteControl; 1734Invariant.Assert(command == StickyNoteControl.DeleteNoteCommand 1735|| command == StickyNoteControl.InkCommand, "Unknown Commands"); 1737if ( command == StickyNoteControl.DeleteNoteCommand ) 1742else if (command == StickyNoteControl.InkCommand) 1952public StrokeChangedHandler(StickyNoteControl snc) 1965private 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;