2 instantiations of StickyNoteControl
PresentationFramework (2)
System\Windows\Annotations\AnnotationComponentChooser.cs (2)
65
ac = new
StickyNoteControl
(StickyNoteType.Text) as IAnnotationComponent;
70
ac = new
StickyNoteControl
(StickyNoteType.Ink) as IAnnotationComponent;
69 references to StickyNoteControl
PresentationFramework (69)
MS\Internal\Annotations\Component\MarkedHighlightComponent.cs (4)
556
_DPHost.SetValue(
StickyNoteControl
.IsActiveProperty, false);
563
_DPHost.SetValue(
StickyNoteControl
.IsActiveProperty, true);
710
bool currentState = (bool)_DPHost.GetValue(
StickyNoteControl
.IsMouseOverAnchorProperty);
714
_DPHost.SetValue(
StickyNoteControl
.IsMouseOverAnchorPropertyKey, newState);
MS\Internal\Controls\StickyNote\StickyNoteAnnotations.cs (6)
106
public static void UpdateAnnotation(XmlToken token,
StickyNoteControl
snc, SNCAnnotation sncAnnotation)
158
public static void UpdateStickyNoteControl(XmlToken token,
StickyNoteControl
snc, SNCAnnotation sncAnnotation)
203
snc.SetValue(
StickyNoteControl
.AuthorPropertyKey, authors);
247
snc.ClearValue(
StickyNoteControl
.IsExpandedProperty);
705
private void UpdateContent(
StickyNoteControl
snc, bool updateAnnotation, XmlToken token)
787
private static void UpdateMetaData(XmlToken token,
StickyNoteControl
snc, SNCAnnotation sncAnnotation)
System\Windows\Annotations\AnnotationComponentChooser.cs (2)
63
if (attachedAnnotation.Annotation.AnnotationType ==
StickyNoteControl
.TextSchemaName)
68
else if (attachedAnnotation.Annotation.AnnotationType ==
StickyNoteControl
.InkSchemaName)
System\Windows\Annotations\AnnotationHelper.cs (8)
76
return CreateStickyNoteForSelection(service,
StickyNoteControl
.TextSchemaName, author);
92
return CreateStickyNoteForSelection(service,
StickyNoteControl
.InkSchemaName, author);
134
DeleteSpannedAnnotations(service,
StickyNoteControl
.TextSchemaName);
157
DeleteSpannedAnnotations(service,
StickyNoteControl
.InkSchemaName);
808
annotationType ==
StickyNoteControl
.TextSchemaName ||
809
annotationType ==
StickyNoteControl
.InkSchemaName), "Invalid Annotation Type");
886
annotationType ==
StickyNoteControl
.TextSchemaName ||
887
annotationType ==
StickyNoteControl
.InkSchemaName), "Invalid Annotation Type");
System\Windows\Annotations\AnnotationService.cs (1)
724
AdornerPresentationContext.SetTypeZLevel(typeof(
StickyNoteControl
), 0);
System\Windows\Controls\StickyNote.cs (45)
69
Type owner = typeof(
StickyNoteControl
);
90
CommandHelpers.RegisterCommandHandler(typeof(
StickyNoteControl
),
StickyNoteControl
.DeleteNoteCommand,
92
CommandHelpers.RegisterCommandHandler(typeof(
StickyNoteControl
),
StickyNoteControl
.InkCommand,
213
typeof(
StickyNoteControl
),
228
return (String)GetValue(
StickyNoteControl
.AuthorProperty);
240
typeof(
StickyNoteControl
),
261
typeof(
StickyNoteControl
),
272
return (bool)GetValue(
StickyNoteControl
.IsActiveProperty);
283
typeof(
StickyNoteControl
),
299
return (bool) GetValue(
StickyNoteControl
.IsMouseOverAnchorProperty);
312
typeof(
StickyNoteControl
),
335
typeof(
StickyNoteControl
),
358
typeof(
StickyNoteControl
),
380
typeof(FontStyle), typeof(
StickyNoteControl
),
403
typeof(
StickyNoteControl
),
426
typeof(
StickyNoteControl
),
448
typeof(
StickyNoteControl
),
490
public static readonly RoutedCommand DeleteNoteCommand = new RoutedCommand("DeleteNote", typeof(
StickyNoteControl
));
495
public static readonly RoutedCommand InkCommand = new RoutedCommand("Ink", typeof(
StickyNoteControl
));
734
typeof(
StickyNoteControl
),
769
StickyNoteControl
snc = (
StickyNoteControl
)d;
776
StickyNoteControl
stickyNoteControl = (
StickyNoteControl
)d;
790
StickyNoteControl
stickyNoteControl = (
StickyNoteControl
)d;
849
StickyNoteControl
snc = sender as
StickyNoteControl
;
1442
Path = new PropertyPath(
StickyNoteControl
.InkEditingModeProperty),
1669
StickyNoteControl
snc = sender as
StickyNoteControl
;
1672
Invariant.Assert(command ==
StickyNoteControl
.DeleteNoteCommand
1673
|| command ==
StickyNoteControl
.InkCommand, "Unknown Commands");
1675
if ( command ==
StickyNoteControl
.DeleteNoteCommand )
1680
else if (command ==
StickyNoteControl
.InkCommand)
1705
StickyNoteControl
snc = sender as
StickyNoteControl
;
1708
Invariant.Assert(command ==
StickyNoteControl
.DeleteNoteCommand
1709
|| command ==
StickyNoteControl
.InkCommand, "Unknown Commands");
1711
if ( command ==
StickyNoteControl
.DeleteNoteCommand )
1716
else if (command ==
StickyNoteControl
.InkCommand)
1926
public StrokeChangedHandler(
StickyNoteControl
snc)
1939
private
StickyNoteControl
_snc;
System\Windows\Markup\Baml2006\Baml2006KnownTypes.cs (1)
700
case 606: t = () => typeof(
StickyNoteControl
); break;
System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
10526
typeof(System.Windows.Controls.
StickyNoteControl
),
System\Windows\Markup\KnownTypes.cs (1)
6154
case KnownElements.StickyNoteControl: t = typeof(System.Windows.Controls.
StickyNoteControl
); break;