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)
557
_DPHost.SetValue(
StickyNoteControl
.IsActiveProperty, false);
565
_DPHost.SetValue(
StickyNoteControl
.IsActiveProperty, true);
706
bool currentState = (bool)_DPHost.GetValue(
StickyNoteControl
.IsMouseOverAnchorProperty);
710
_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)
78
return CreateStickyNoteForSelection(service,
StickyNoteControl
.TextSchemaName, author);
94
return CreateStickyNoteForSelection(service,
StickyNoteControl
.InkSchemaName, author);
136
DeleteSpannedAnnotations(service,
StickyNoteControl
.TextSchemaName);
159
DeleteSpannedAnnotations(service,
StickyNoteControl
.InkSchemaName);
810
annotationType ==
StickyNoteControl
.TextSchemaName ||
811
annotationType ==
StickyNoteControl
.InkSchemaName), "Invalid Annotation Type");
888
annotationType ==
StickyNoteControl
.TextSchemaName ||
889
annotationType ==
StickyNoteControl
.InkSchemaName), "Invalid Annotation Type");
System\Windows\Annotations\AnnotationService.cs (1)
729
AdornerPresentationContext.SetTypeZLevel(typeof(
StickyNoteControl
), 0);
System\Windows\Controls\StickyNote.cs (45)
80
Type owner = typeof(
StickyNoteControl
);
101
CommandHelpers.RegisterCommandHandler(typeof(
StickyNoteControl
),
StickyNoteControl
.DeleteNoteCommand,
103
CommandHelpers.RegisterCommandHandler(typeof(
StickyNoteControl
),
StickyNoteControl
.InkCommand,
230
typeof(
StickyNoteControl
),
245
return (String)GetValue(
StickyNoteControl
.AuthorProperty);
257
typeof(
StickyNoteControl
),
278
typeof(
StickyNoteControl
),
289
return (bool)GetValue(
StickyNoteControl
.IsActiveProperty);
300
typeof(
StickyNoteControl
),
316
return (bool) GetValue(
StickyNoteControl
.IsMouseOverAnchorProperty);
329
typeof(
StickyNoteControl
),
352
typeof(
StickyNoteControl
),
375
typeof(
StickyNoteControl
),
397
typeof(FontStyle), typeof(
StickyNoteControl
),
420
typeof(
StickyNoteControl
),
443
typeof(
StickyNoteControl
),
465
typeof(
StickyNoteControl
),
507
public static readonly RoutedCommand DeleteNoteCommand = new RoutedCommand("DeleteNote", typeof(
StickyNoteControl
));
512
public static readonly RoutedCommand InkCommand = new RoutedCommand("Ink", typeof(
StickyNoteControl
));
751
typeof(
StickyNoteControl
),
786
StickyNoteControl
snc = (
StickyNoteControl
)d;
793
StickyNoteControl
stickyNoteControl = (
StickyNoteControl
)d;
808
StickyNoteControl
stickyNoteControl = (
StickyNoteControl
)d;
868
StickyNoteControl
snc = sender as
StickyNoteControl
;
1476
stickyNoteInkEditingMode.Path = new PropertyPath(
StickyNoteControl
.InkEditingModeProperty);
1694
StickyNoteControl
snc = sender as
StickyNoteControl
;
1697
Invariant.Assert(command ==
StickyNoteControl
.DeleteNoteCommand
1698
|| command ==
StickyNoteControl
.InkCommand, "Unknown Commands");
1700
if ( command ==
StickyNoteControl
.DeleteNoteCommand )
1705
else if (command ==
StickyNoteControl
.InkCommand)
1730
StickyNoteControl
snc = sender as
StickyNoteControl
;
1733
Invariant.Assert(command ==
StickyNoteControl
.DeleteNoteCommand
1734
|| command ==
StickyNoteControl
.InkCommand, "Unknown Commands");
1736
if ( command ==
StickyNoteControl
.DeleteNoteCommand )
1741
else if (command ==
StickyNoteControl
.InkCommand)
1951
public StrokeChangedHandler(
StickyNoteControl
snc)
1964
private
StickyNoteControl
_snc;
System\Windows\Markup\Baml2006\Baml2006KnownTypes.cs (1)
700
case 606: t = () => typeof(
StickyNoteControl
); break;
System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
9494
typeof(System.Windows.Controls.
StickyNoteControl
),
System\Windows\Markup\KnownTypes.cs (1)
6160
case KnownElements.StickyNoteControl: t = typeof(System.Windows.Controls.
StickyNoteControl
); break;