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