27 references to SNBConstants
PresentationFramework (27)
src\Framework\MS\Internal\Controls\StickyNote\StickyNoteAnnotations.cs (4)
608
cargoName =
SNBConstants
.MetaResourceName;
614
cargoName =
SNBConstants
.TextResourceName;
619
cargoName =
SNBConstants
.InkResourceName;
1337
AnnotationResource cargo = new AnnotationResource(
SNBConstants
.MetaResourceName);
src\Framework\MS\Internal\Controls\StickyNote\StickyNoteContentControl.cs (2)
488
throw new InvalidOperationException(SR.Get(SRID.InvalidStickyNoteTemplate, type, typeof(RichTextBox),
SNBConstants
.c_ContentControlId));
497
throw new InvalidOperationException(SR.Get(SRID.InvalidStickyNoteTemplate, type, typeof(InkCanvas),
SNBConstants
.c_ContentControlId));
src\Framework\System\Windows\Controls\StickyNote.cs (21)
80
[TemplatePart(Name =
SNBConstants
.c_CloseButtonId, Type = typeof(Button))]
81
[TemplatePart(Name =
SNBConstants
.c_TitleThumbId, Type = typeof(Thumb))]
82
[TemplatePart(Name =
SNBConstants
.c_BottomRightResizeThumbId, Type = typeof(Thumb))]
83
[TemplatePart(Name =
SNBConstants
.c_ContentControlId, Type = typeof(ContentControl))]
84
[TemplatePart(Name =
SNBConstants
.c_IconButtonId, Type = typeof(Button))]
85
[TemplatePart(Name =
SNBConstants
.c_CopyMenuId, Type = typeof(MenuItem))]
86
[TemplatePart(Name =
SNBConstants
.c_PasteMenuId, Type = typeof(MenuItem))]
87
[TemplatePart(Name =
SNBConstants
.c_InkMenuId, Type = typeof(MenuItem))]
88
[TemplatePart(Name =
SNBConstants
.c_SelectMenuId, Type = typeof(MenuItem))]
89
[TemplatePart(Name =
SNBConstants
.c_EraseMenuId, Type = typeof(MenuItem))]
724
return GetTemplateChild(
SNBConstants
.c_CloseButtonId) as Button;
732
return GetTemplateChild(
SNBConstants
.c_IconButtonId) as Button;
740
return GetTemplateChild(
SNBConstants
.c_TitleThumbId) as Thumb;
748
return GetTemplateChild(
SNBConstants
.c_ContentControlId) as UIElement;
756
return GetTemplateChild(
SNBConstants
.c_BottomRightResizeThumbId) as Thumb;
1853
return GetTemplateChild(
SNBConstants
.c_InkMenuId) as MenuItem;
1861
return GetTemplateChild(
SNBConstants
.c_SelectMenuId) as MenuItem;
1869
return GetTemplateChild(
SNBConstants
.c_EraseMenuId) as MenuItem;
1877
return GetTemplateChild(
SNBConstants
.c_CopyMenuId) as MenuItem;
1885
return GetTemplateChild(
SNBConstants
.c_PasteMenuId) as MenuItem;
1893
return GetTemplateChild(
SNBConstants
.c_ClipboardSeparatorId) as Separator;