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);
712
bool currentState = (bool)_DPHost.GetValue(
StickyNoteControl
.IsMouseOverAnchorProperty);
716
_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,
219
typeof(
StickyNoteControl
),
234
return (String)GetValue(
StickyNoteControl
.AuthorProperty);
246
typeof(
StickyNoteControl
),
267
typeof(
StickyNoteControl
),
278
return (bool)GetValue(
StickyNoteControl
.IsActiveProperty);
289
typeof(
StickyNoteControl
),
305
return (bool) GetValue(
StickyNoteControl
.IsMouseOverAnchorProperty);
318
typeof(
StickyNoteControl
),
341
typeof(
StickyNoteControl
),
364
typeof(
StickyNoteControl
),
386
typeof(FontStyle), typeof(
StickyNoteControl
),
409
typeof(
StickyNoteControl
),
432
typeof(
StickyNoteControl
),
454
typeof(
StickyNoteControl
),
496
public static readonly RoutedCommand DeleteNoteCommand = new RoutedCommand("DeleteNote", typeof(
StickyNoteControl
));
501
public static readonly RoutedCommand InkCommand = new RoutedCommand("Ink", typeof(
StickyNoteControl
));
740
typeof(
StickyNoteControl
),
775
StickyNoteControl
snc = (
StickyNoteControl
)d;
782
StickyNoteControl
stickyNoteControl = (
StickyNoteControl
)d;
797
StickyNoteControl
stickyNoteControl = (
StickyNoteControl
)d;
857
StickyNoteControl
snc = sender as
StickyNoteControl
;
1468
Path = new PropertyPath(
StickyNoteControl
.InkEditingModeProperty),
1695
StickyNoteControl
snc = sender as
StickyNoteControl
;
1698
Invariant.Assert(command ==
StickyNoteControl
.DeleteNoteCommand
1699
|| command ==
StickyNoteControl
.InkCommand, "Unknown Commands");
1701
if ( command ==
StickyNoteControl
.DeleteNoteCommand )
1706
else if (command ==
StickyNoteControl
.InkCommand)
1731
StickyNoteControl
snc = sender as
StickyNoteControl
;
1734
Invariant.Assert(command ==
StickyNoteControl
.DeleteNoteCommand
1735
|| command ==
StickyNoteControl
.InkCommand, "Unknown Commands");
1737
if ( command ==
StickyNoteControl
.DeleteNoteCommand )
1742
else if (command ==
StickyNoteControl
.InkCommand)
1952
public StrokeChangedHandler(
StickyNoteControl
snc)
1965
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;