2 instantiations of StickyNoteControl
PresentationFramework (2)
System\Windows\Annotations\AnnotationComponentChooser.cs (2)
64
ac = new
StickyNoteControl
(StickyNoteType.Text) as IAnnotationComponent;
69
ac = new
StickyNoteControl
(StickyNoteType.Ink) as IAnnotationComponent;
69 references to StickyNoteControl
PresentationFramework (69)
MS\Internal\Annotations\Component\MarkedHighlightComponent.cs (4)
555
_DPHost.SetValue(
StickyNoteControl
.IsActiveProperty, false);
562
_DPHost.SetValue(
StickyNoteControl
.IsActiveProperty, true);
709
bool currentState = (bool)_DPHost.GetValue(
StickyNoteControl
.IsMouseOverAnchorProperty);
713
_DPHost.SetValue(
StickyNoteControl
.IsMouseOverAnchorPropertyKey, newState);
MS\Internal\Controls\StickyNote\StickyNoteAnnotations.cs (6)
105
public static void UpdateAnnotation(XmlToken token,
StickyNoteControl
snc, SNCAnnotation sncAnnotation)
157
public static void UpdateStickyNoteControl(XmlToken token,
StickyNoteControl
snc, SNCAnnotation sncAnnotation)
202
snc.SetValue(
StickyNoteControl
.AuthorPropertyKey, authors);
246
snc.ClearValue(
StickyNoteControl
.IsExpandedProperty);
704
private void UpdateContent(
StickyNoteControl
snc, bool updateAnnotation, XmlToken token)
786
private static void UpdateMetaData(XmlToken token,
StickyNoteControl
snc, SNCAnnotation sncAnnotation)
System\Windows\Annotations\AnnotationComponentChooser.cs (2)
62
if (attachedAnnotation.Annotation.AnnotationType ==
StickyNoteControl
.TextSchemaName)
67
else if (attachedAnnotation.Annotation.AnnotationType ==
StickyNoteControl
.InkSchemaName)
System\Windows\Annotations\AnnotationHelper.cs (8)
75
return CreateStickyNoteForSelection(service,
StickyNoteControl
.TextSchemaName, author);
91
return CreateStickyNoteForSelection(service,
StickyNoteControl
.InkSchemaName, author);
133
DeleteSpannedAnnotations(service,
StickyNoteControl
.TextSchemaName);
156
DeleteSpannedAnnotations(service,
StickyNoteControl
.InkSchemaName);
807
annotationType ==
StickyNoteControl
.TextSchemaName ||
808
annotationType ==
StickyNoteControl
.InkSchemaName), "Invalid Annotation Type");
885
annotationType ==
StickyNoteControl
.TextSchemaName ||
886
annotationType ==
StickyNoteControl
.InkSchemaName), "Invalid Annotation Type");
System\Windows\Annotations\AnnotationService.cs (1)
723
AdornerPresentationContext.SetTypeZLevel(typeof(
StickyNoteControl
), 0);
System\Windows\Controls\StickyNote.cs (45)
68
Type owner = typeof(
StickyNoteControl
);
89
CommandHelpers.RegisterCommandHandler(typeof(
StickyNoteControl
),
StickyNoteControl
.DeleteNoteCommand,
91
CommandHelpers.RegisterCommandHandler(typeof(
StickyNoteControl
),
StickyNoteControl
.InkCommand,
212
typeof(
StickyNoteControl
),
227
return (String)GetValue(
StickyNoteControl
.AuthorProperty);
239
typeof(
StickyNoteControl
),
260
typeof(
StickyNoteControl
),
271
return (bool)GetValue(
StickyNoteControl
.IsActiveProperty);
282
typeof(
StickyNoteControl
),
298
return (bool) GetValue(
StickyNoteControl
.IsMouseOverAnchorProperty);
311
typeof(
StickyNoteControl
),
334
typeof(
StickyNoteControl
),
357
typeof(
StickyNoteControl
),
379
typeof(FontStyle), typeof(
StickyNoteControl
),
402
typeof(
StickyNoteControl
),
425
typeof(
StickyNoteControl
),
447
typeof(
StickyNoteControl
),
489
public static readonly RoutedCommand DeleteNoteCommand = new RoutedCommand("DeleteNote", typeof(
StickyNoteControl
));
494
public static readonly RoutedCommand InkCommand = new RoutedCommand("Ink", typeof(
StickyNoteControl
));
733
typeof(
StickyNoteControl
),
768
StickyNoteControl
snc = (
StickyNoteControl
)d;
775
StickyNoteControl
stickyNoteControl = (
StickyNoteControl
)d;
789
StickyNoteControl
stickyNoteControl = (
StickyNoteControl
)d;
848
StickyNoteControl
snc = sender as
StickyNoteControl
;
1441
Path = new PropertyPath(
StickyNoteControl
.InkEditingModeProperty),
1668
StickyNoteControl
snc = sender as
StickyNoteControl
;
1671
Invariant.Assert(command ==
StickyNoteControl
.DeleteNoteCommand
1672
|| command ==
StickyNoteControl
.InkCommand, "Unknown Commands");
1674
if ( command ==
StickyNoteControl
.DeleteNoteCommand )
1679
else if (command ==
StickyNoteControl
.InkCommand)
1704
StickyNoteControl
snc = sender as
StickyNoteControl
;
1707
Invariant.Assert(command ==
StickyNoteControl
.DeleteNoteCommand
1708
|| command ==
StickyNoteControl
.InkCommand, "Unknown Commands");
1710
if ( command ==
StickyNoteControl
.DeleteNoteCommand )
1715
else if (command ==
StickyNoteControl
.InkCommand)
1925
public StrokeChangedHandler(
StickyNoteControl
snc)
1938
private
StickyNoteControl
_snc;
System\Windows\Markup\Baml2006\Baml2006KnownTypes.cs (1)
699
case 606: t = () => typeof(
StickyNoteControl
); break;
System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
10525
typeof(System.Windows.Controls.
StickyNoteControl
),
System\Windows\Markup\KnownTypes.cs (1)
6153
case KnownElements.StickyNoteControl: t = typeof(System.Windows.Controls.
StickyNoteControl
); break;