27 references to SNBConstants
PresentationFramework (27)
MS\Internal\Controls\StickyNote\StickyNoteAnnotations.cs (4)
592
cargoName =
SNBConstants
.MetaResourceName;
598
cargoName =
SNBConstants
.TextResourceName;
603
cargoName =
SNBConstants
.InkResourceName;
1312
AnnotationResource cargo = new AnnotationResource(
SNBConstants
.MetaResourceName);
MS\Internal\Controls\StickyNote\StickyNoteContentControl.cs (2)
477
throw new InvalidOperationException(SR.Format(SR.InvalidStickyNoteTemplate, type, typeof(RichTextBox),
SNBConstants
.c_ContentControlId));
486
throw new InvalidOperationException(SR.Format(SR.InvalidStickyNoteTemplate, type, typeof(InkCanvas),
SNBConstants
.c_ContentControlId));
System\Windows\Controls\StickyNote.cs (21)
43
[TemplatePart(Name =
SNBConstants
.c_CloseButtonId, Type = typeof(Button))]
44
[TemplatePart(Name =
SNBConstants
.c_TitleThumbId, Type = typeof(Thumb))]
45
[TemplatePart(Name =
SNBConstants
.c_BottomRightResizeThumbId, Type = typeof(Thumb))]
46
[TemplatePart(Name =
SNBConstants
.c_ContentControlId, Type = typeof(ContentControl))]
47
[TemplatePart(Name =
SNBConstants
.c_IconButtonId, Type = typeof(Button))]
48
[TemplatePart(Name =
SNBConstants
.c_CopyMenuId, Type = typeof(MenuItem))]
49
[TemplatePart(Name =
SNBConstants
.c_PasteMenuId, Type = typeof(MenuItem))]
50
[TemplatePart(Name =
SNBConstants
.c_InkMenuId, Type = typeof(MenuItem))]
51
[TemplatePart(Name =
SNBConstants
.c_SelectMenuId, Type = typeof(MenuItem))]
52
[TemplatePart(Name =
SNBConstants
.c_EraseMenuId, Type = typeof(MenuItem))]
681
return GetTemplateChild(
SNBConstants
.c_CloseButtonId) as Button;
689
return GetTemplateChild(
SNBConstants
.c_IconButtonId) as Button;
697
return GetTemplateChild(
SNBConstants
.c_TitleThumbId) as Thumb;
705
return GetTemplateChild(
SNBConstants
.c_ContentControlId) as UIElement;
713
return GetTemplateChild(
SNBConstants
.c_BottomRightResizeThumbId) as Thumb;
1775
return GetTemplateChild(
SNBConstants
.c_InkMenuId) as MenuItem;
1783
return GetTemplateChild(
SNBConstants
.c_SelectMenuId) as MenuItem;
1791
return GetTemplateChild(
SNBConstants
.c_EraseMenuId) as MenuItem;
1799
return GetTemplateChild(
SNBConstants
.c_CopyMenuId) as MenuItem;
1807
return GetTemplateChild(
SNBConstants
.c_PasteMenuId) as MenuItem;
1815
return GetTemplateChild(
SNBConstants
.c_ClipboardSeparatorId) as Separator;