35 references to StickyNoteType
PresentationFramework (35)
src\Framework\MS\Internal\Controls\StickyNote\StickyNoteAnnotations.cs (6)
140if ((token & XmlToken.Ink) != 0 && snc.Content.Type == StickyNoteType.Ink) 146if ((token & XmlToken.Text) != 0 && snc.Content.Type == StickyNoteType.Text) 736if ((token == XmlToken.Ink && contentControl.Type != StickyNoteType.Ink) 737|| (token == XmlToken.Text && contentControl.Type != StickyNoteType.Text)) 1320_stickyNoteType = StickyNoteType.Ink; 1324_stickyNoteType = StickyNoteType.Text;
src\Framework\MS\Internal\Controls\StickyNote\StickyNoteContentControl.cs (8)
101abstract public StickyNoteType Type 279public override StickyNoteType Type 283return StickyNoteType.Text; 450public override StickyNoteType Type 454return StickyNoteType.Ink; 478public static StickyNoteContentControl CreateContentControl(StickyNoteType type, UIElement content) 484case StickyNoteType.Text: 493case StickyNoteType.Ink:
src\Framework\System\Windows\Annotations\AnnotationComponentChooser.cs (2)
74ac = new StickyNoteControl(StickyNoteType.Text) as IAnnotationComponent; 79ac = new StickyNoteControl(StickyNoteType.Ink) as IAnnotationComponent;
src\Framework\System\Windows\Controls\StickyNote.cs (19)
156private StickyNoteControl() : this(StickyNoteType.Text) 164internal StickyNoteControl(StickyNoteType type) : base() 490typeof(StickyNoteType), 492new FrameworkPropertyMetadata(StickyNoteType.Text)); 502public StickyNoteType StickyNoteType 504get{ return (StickyNoteType) GetValue(StickyNoteTypeProperty); } 820if (stickyNoteControl.Content != null && stickyNoteControl.Content.Type != StickyNoteType.Ink) 837if (e.Property == ForegroundProperty && stickyNoteControl.Content != null && stickyNoteControl.Content.Type != StickyNoteType.Ink) 1033XmlQualifiedName type = _stickyNoteType == StickyNoteType.Text ? 1246if (!IsKeyboardFocusWithin && this.StickyNoteType == StickyNoteType.Ink) 1479if (Content.Type != StickyNoteType.Ink) 1526if (Content.Type != StickyNoteType.Ink) 1550if (Content.Type == StickyNoteType.Ink) 1575if (Content.Type == StickyNoteType.Ink) 1762if (content == null || content.Type != StickyNoteType.Ink) 1799args.CanExecute = (content != null && content.Type == StickyNoteType.Ink); 1813if ( Content == null || Content.Type != StickyNoteType.Ink ) 1928private StickyNoteType _stickyNoteType = StickyNoteType.Text;