27 references to SNBConstants
PresentationFramework (27)
MS\Internal\Controls\StickyNote\StickyNoteAnnotations.cs (4)
591
cargoName =
SNBConstants
.MetaResourceName;
597
cargoName =
SNBConstants
.TextResourceName;
602
cargoName =
SNBConstants
.InkResourceName;
1311
AnnotationResource cargo = new AnnotationResource(
SNBConstants
.MetaResourceName);
MS\Internal\Controls\StickyNote\StickyNoteContentControl.cs (2)
476
throw new InvalidOperationException(SR.Format(SR.InvalidStickyNoteTemplate, type, typeof(RichTextBox),
SNBConstants
.c_ContentControlId));
485
throw new InvalidOperationException(SR.Format(SR.InvalidStickyNoteTemplate, type, typeof(InkCanvas),
SNBConstants
.c_ContentControlId));
System\Windows\Controls\StickyNote.cs (21)
42
[TemplatePart(Name =
SNBConstants
.c_CloseButtonId, Type = typeof(Button))]
43
[TemplatePart(Name =
SNBConstants
.c_TitleThumbId, Type = typeof(Thumb))]
44
[TemplatePart(Name =
SNBConstants
.c_BottomRightResizeThumbId, Type = typeof(Thumb))]
45
[TemplatePart(Name =
SNBConstants
.c_ContentControlId, Type = typeof(ContentControl))]
46
[TemplatePart(Name =
SNBConstants
.c_IconButtonId, Type = typeof(Button))]
47
[TemplatePart(Name =
SNBConstants
.c_CopyMenuId, Type = typeof(MenuItem))]
48
[TemplatePart(Name =
SNBConstants
.c_PasteMenuId, Type = typeof(MenuItem))]
49
[TemplatePart(Name =
SNBConstants
.c_InkMenuId, Type = typeof(MenuItem))]
50
[TemplatePart(Name =
SNBConstants
.c_SelectMenuId, Type = typeof(MenuItem))]
51
[TemplatePart(Name =
SNBConstants
.c_EraseMenuId, Type = typeof(MenuItem))]
680
return GetTemplateChild(
SNBConstants
.c_CloseButtonId) as Button;
688
return GetTemplateChild(
SNBConstants
.c_IconButtonId) as Button;
696
return GetTemplateChild(
SNBConstants
.c_TitleThumbId) as Thumb;
704
return GetTemplateChild(
SNBConstants
.c_ContentControlId) as UIElement;
712
return GetTemplateChild(
SNBConstants
.c_BottomRightResizeThumbId) as Thumb;
1774
return GetTemplateChild(
SNBConstants
.c_InkMenuId) as MenuItem;
1782
return GetTemplateChild(
SNBConstants
.c_SelectMenuId) as MenuItem;
1790
return GetTemplateChild(
SNBConstants
.c_EraseMenuId) as MenuItem;
1798
return GetTemplateChild(
SNBConstants
.c_CopyMenuId) as MenuItem;
1806
return GetTemplateChild(
SNBConstants
.c_PasteMenuId) as MenuItem;
1814
return GetTemplateChild(
SNBConstants
.c_ClipboardSeparatorId) as Separator;