27 references to SNBConstants
PresentationFramework (27)
MS\Internal\Controls\StickyNote\StickyNoteAnnotations.cs (4)
592cargoName = SNBConstants.MetaResourceName; 598cargoName = SNBConstants.TextResourceName; 603cargoName = SNBConstants.InkResourceName; 1312AnnotationResource cargo = new AnnotationResource(SNBConstants.MetaResourceName);
MS\Internal\Controls\StickyNote\StickyNoteContentControl.cs (2)
477throw new InvalidOperationException(SR.Format(SR.InvalidStickyNoteTemplate, type, typeof(RichTextBox), SNBConstants.c_ContentControlId)); 486throw new InvalidOperationException(SR.Format(SR.InvalidStickyNoteTemplate, type, typeof(InkCanvas), SNBConstants.c_ContentControlId));
System\Windows\Controls\StickyNote.cs (21)
54[TemplatePart(Name = SNBConstants.c_CloseButtonId, Type = typeof(Button))] 55[TemplatePart(Name = SNBConstants.c_TitleThumbId, Type = typeof(Thumb))] 56[TemplatePart(Name = SNBConstants.c_BottomRightResizeThumbId, Type = typeof(Thumb))] 57[TemplatePart(Name = SNBConstants.c_ContentControlId, Type = typeof(ContentControl))] 58[TemplatePart(Name = SNBConstants.c_IconButtonId, Type = typeof(Button))] 59[TemplatePart(Name = SNBConstants.c_CopyMenuId, Type = typeof(MenuItem))] 60[TemplatePart(Name = SNBConstants.c_PasteMenuId, Type = typeof(MenuItem))] 61[TemplatePart(Name = SNBConstants.c_InkMenuId, Type = typeof(MenuItem))] 62[TemplatePart(Name = SNBConstants.c_SelectMenuId, Type = typeof(MenuItem))] 63[TemplatePart(Name = SNBConstants.c_EraseMenuId, Type = typeof(MenuItem))] 698return GetTemplateChild(SNBConstants.c_CloseButtonId) as Button; 706return GetTemplateChild(SNBConstants.c_IconButtonId) as Button; 714return GetTemplateChild(SNBConstants.c_TitleThumbId) as Thumb; 722return GetTemplateChild(SNBConstants.c_ContentControlId) as UIElement; 730return GetTemplateChild(SNBConstants.c_BottomRightResizeThumbId) as Thumb; 1800return GetTemplateChild(SNBConstants.c_InkMenuId) as MenuItem; 1808return GetTemplateChild(SNBConstants.c_SelectMenuId) as MenuItem; 1816return GetTemplateChild(SNBConstants.c_EraseMenuId) as MenuItem; 1824return GetTemplateChild(SNBConstants.c_CopyMenuId) as MenuItem; 1832return GetTemplateChild(SNBConstants.c_PasteMenuId) as MenuItem; 1840return GetTemplateChild(SNBConstants.c_ClipboardSeparatorId) as Separator;