27 references to SNBConstants
PresentationFramework (27)
MS\Internal\Controls\StickyNote\StickyNoteAnnotations.cs (4)
602
cargoName =
SNBConstants
.MetaResourceName;
608
cargoName =
SNBConstants
.TextResourceName;
613
cargoName =
SNBConstants
.InkResourceName;
1322
AnnotationResource cargo = new AnnotationResource(
SNBConstants
.MetaResourceName);
MS\Internal\Controls\StickyNote\StickyNoteContentControl.cs (2)
482
throw new InvalidOperationException(SR.Format(SR.InvalidStickyNoteTemplate, type, typeof(RichTextBox),
SNBConstants
.c_ContentControlId));
491
throw new InvalidOperationException(SR.Format(SR.InvalidStickyNoteTemplate, type, typeof(InkCanvas),
SNBConstants
.c_ContentControlId));
System\Windows\Controls\StickyNote.cs (21)
70
[TemplatePart(Name =
SNBConstants
.c_CloseButtonId, Type = typeof(Button))]
71
[TemplatePart(Name =
SNBConstants
.c_TitleThumbId, Type = typeof(Thumb))]
72
[TemplatePart(Name =
SNBConstants
.c_BottomRightResizeThumbId, Type = typeof(Thumb))]
73
[TemplatePart(Name =
SNBConstants
.c_ContentControlId, Type = typeof(ContentControl))]
74
[TemplatePart(Name =
SNBConstants
.c_IconButtonId, Type = typeof(Button))]
75
[TemplatePart(Name =
SNBConstants
.c_CopyMenuId, Type = typeof(MenuItem))]
76
[TemplatePart(Name =
SNBConstants
.c_PasteMenuId, Type = typeof(MenuItem))]
77
[TemplatePart(Name =
SNBConstants
.c_InkMenuId, Type = typeof(MenuItem))]
78
[TemplatePart(Name =
SNBConstants
.c_SelectMenuId, Type = typeof(MenuItem))]
79
[TemplatePart(Name =
SNBConstants
.c_EraseMenuId, Type = typeof(MenuItem))]
714
return GetTemplateChild(
SNBConstants
.c_CloseButtonId) as Button;
722
return GetTemplateChild(
SNBConstants
.c_IconButtonId) as Button;
730
return GetTemplateChild(
SNBConstants
.c_TitleThumbId) as Thumb;
738
return GetTemplateChild(
SNBConstants
.c_ContentControlId) as UIElement;
746
return GetTemplateChild(
SNBConstants
.c_BottomRightResizeThumbId) as Thumb;
1816
return GetTemplateChild(
SNBConstants
.c_InkMenuId) as MenuItem;
1824
return GetTemplateChild(
SNBConstants
.c_SelectMenuId) as MenuItem;
1832
return GetTemplateChild(
SNBConstants
.c_EraseMenuId) as MenuItem;
1840
return GetTemplateChild(
SNBConstants
.c_CopyMenuId) as MenuItem;
1848
return GetTemplateChild(
SNBConstants
.c_PasteMenuId) as MenuItem;
1856
return GetTemplateChild(
SNBConstants
.c_ClipboardSeparatorId) as Separator;