2 instantiations of StickyNoteControl
PresentationFramework (2)
src\Framework\System\Windows\Annotations\AnnotationComponentChooser.cs (2)
74ac = new StickyNoteControl(StickyNoteType.Text) as IAnnotationComponent; 79ac = new StickyNoteControl(StickyNoteType.Ink) as IAnnotationComponent;
69 references to StickyNoteControl
PresentationFramework (69)
src\Framework\MS\Internal\Annotations\Component\MArkedHighlightComponent.cs (4)
581_DPHost.SetValue(StickyNoteControl.IsActiveProperty, false); 589_DPHost.SetValue(StickyNoteControl.IsActiveProperty, true); 734bool currentState = (bool)_DPHost.GetValue(StickyNoteControl.IsMouseOverAnchorProperty); 738_DPHost.SetValue(StickyNoteControl.IsMouseOverAnchorPropertyKey, newState);
src\Framework\MS\Internal\Controls\StickyNote\StickyNoteAnnotations.cs (6)
122public static void UpdateAnnotation(XmlToken token, StickyNoteControl snc, SNCAnnotation sncAnnotation) 174public static void UpdateStickyNoteControl(XmlToken token, StickyNoteControl snc, SNCAnnotation sncAnnotation) 219snc.SetValue(StickyNoteControl.AuthorPropertyKey, authors); 263snc.ClearValue(StickyNoteControl.IsExpandedProperty); 722private void UpdateContent(StickyNoteControl snc, bool updateAnnotation, XmlToken token) 804private static void UpdateMetaData(XmlToken token, StickyNoteControl snc, SNCAnnotation sncAnnotation)
src\Framework\System\Windows\Annotations\AnnotationComponentChooser.cs (2)
72if (attachedAnnotation.Annotation.AnnotationType == StickyNoteControl.TextSchemaName) 77else if (attachedAnnotation.Annotation.AnnotationType == StickyNoteControl.InkSchemaName)
src\Framework\System\Windows\Annotations\AnnotationHelper.cs (8)
95return CreateStickyNoteForSelection(service, StickyNoteControl.TextSchemaName, author); 111return CreateStickyNoteForSelection(service, StickyNoteControl.InkSchemaName, author); 153DeleteSpannedAnnotations(service, StickyNoteControl.TextSchemaName); 176DeleteSpannedAnnotations(service, StickyNoteControl.InkSchemaName); 829annotationType == StickyNoteControl.TextSchemaName || 830annotationType == StickyNoteControl.InkSchemaName), "Invalid Annotation Type"); 908annotationType == StickyNoteControl.TextSchemaName || 909annotationType == StickyNoteControl.InkSchemaName), "Invalid Annotation Type");
src\Framework\System\Windows\Annotations\AnnotationService.cs (1)
773AdornerPresentationContext.SetTypeZLevel(typeof(StickyNoteControl), 0);
src\Framework\System\Windows\Controls\StickyNote.cs (45)
106Type owner = typeof(StickyNoteControl); 127CommandHelpers.RegisterCommandHandler(typeof(StickyNoteControl), StickyNoteControl.DeleteNoteCommand, 129CommandHelpers.RegisterCommandHandler(typeof(StickyNoteControl), StickyNoteControl.InkCommand, 256typeof(StickyNoteControl), 271return (String)GetValue(StickyNoteControl.AuthorProperty); 283typeof(StickyNoteControl), 304typeof(StickyNoteControl), 315return (bool)GetValue(StickyNoteControl.IsActiveProperty); 326typeof(StickyNoteControl), 342return (bool) GetValue(StickyNoteControl.IsMouseOverAnchorProperty); 355typeof(StickyNoteControl), 378typeof(StickyNoteControl), 401typeof(StickyNoteControl), 423typeof(FontStyle), typeof(StickyNoteControl), 446typeof(StickyNoteControl), 469typeof(StickyNoteControl), 491typeof(StickyNoteControl), 533public static readonly RoutedCommand DeleteNoteCommand = new RoutedCommand("DeleteNote", typeof(StickyNoteControl)); 538public static readonly RoutedCommand InkCommand = new RoutedCommand("Ink", typeof(StickyNoteControl)); 777typeof(StickyNoteControl), 812StickyNoteControl snc = (StickyNoteControl)d; 819StickyNoteControl stickyNoteControl = (StickyNoteControl)d; 834StickyNoteControl stickyNoteControl = (StickyNoteControl)d; 894StickyNoteControl snc = sender as StickyNoteControl; 1502stickyNoteInkEditingMode.Path = new PropertyPath(StickyNoteControl.InkEditingModeProperty); 1747StickyNoteControl snc = sender as StickyNoteControl; 1750Invariant.Assert(command == StickyNoteControl.DeleteNoteCommand 1751|| command == StickyNoteControl.InkCommand, "Unknown Commands"); 1753if ( command == StickyNoteControl.DeleteNoteCommand ) 1758else if (command == StickyNoteControl.InkCommand) 1783StickyNoteControl snc = sender as StickyNoteControl; 1786Invariant.Assert(command == StickyNoteControl.DeleteNoteCommand 1787|| command == StickyNoteControl.InkCommand, "Unknown Commands"); 1789if ( command == StickyNoteControl.DeleteNoteCommand ) 1794else if (command == StickyNoteControl.InkCommand) 2004public StrokeChangedHandler(StickyNoteControl snc) 2017private StickyNoteControl _snc;
src\Framework\System\Windows\Markup\Baml2006\Baml2006KnownTypes.cs (1)
698case 606: t = () => typeof(StickyNoteControl); break;
src\Framework\System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
9492typeof(System.Windows.Controls.StickyNoteControl),
src\Framework\System\Windows\Markup\KnownTypes.cs (1)
6150case KnownElements.StickyNoteControl: t = typeof(System.Windows.Controls.StickyNoteControl); break;