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