27 references to SNBConstants
PresentationFramework (27)
MS\Internal\Controls\StickyNote\StickyNoteAnnotations.cs (4)
591cargoName = SNBConstants.MetaResourceName; 597cargoName = SNBConstants.TextResourceName; 602cargoName = SNBConstants.InkResourceName; 1311AnnotationResource cargo = new AnnotationResource(SNBConstants.MetaResourceName);
MS\Internal\Controls\StickyNote\StickyNoteContentControl.cs (2)
476throw new InvalidOperationException(SR.Format(SR.InvalidStickyNoteTemplate, type, typeof(RichTextBox), SNBConstants.c_ContentControlId)); 485throw 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))] 680return GetTemplateChild(SNBConstants.c_CloseButtonId) as Button; 688return GetTemplateChild(SNBConstants.c_IconButtonId) as Button; 696return GetTemplateChild(SNBConstants.c_TitleThumbId) as Thumb; 704return GetTemplateChild(SNBConstants.c_ContentControlId) as UIElement; 712return GetTemplateChild(SNBConstants.c_BottomRightResizeThumbId) as Thumb; 1774return GetTemplateChild(SNBConstants.c_InkMenuId) as MenuItem; 1782return GetTemplateChild(SNBConstants.c_SelectMenuId) as MenuItem; 1790return GetTemplateChild(SNBConstants.c_EraseMenuId) as MenuItem; 1798return GetTemplateChild(SNBConstants.c_CopyMenuId) as MenuItem; 1806return GetTemplateChild(SNBConstants.c_PasteMenuId) as MenuItem; 1814return GetTemplateChild(SNBConstants.c_ClipboardSeparatorId) as Separator;