35 references to StickyNoteType
PresentationFramework (35)
MS\Internal\Controls\StickyNote\StickyNoteAnnotations.cs (6)
134if ((token & XmlToken.Ink) != 0 && snc.Content.Type == StickyNoteType.Ink) 140if ((token & XmlToken.Text) != 0 && snc.Content.Type == StickyNoteType.Text) 729if ((token == XmlToken.Ink && contentControl.Type != StickyNoteType.Ink) 730|| (token == XmlToken.Text && contentControl.Type != StickyNoteType.Text)) 1305_stickyNoteType = StickyNoteType.Ink; 1309_stickyNoteType = StickyNoteType.Text;
MS\Internal\Controls\StickyNote\StickyNoteContentControl.cs (8)
95abstract public StickyNoteType Type 273public override StickyNoteType Type 277return StickyNoteType.Text; 444public override StickyNoteType Type 448return StickyNoteType.Ink; 472public static StickyNoteContentControl CreateContentControl(StickyNoteType type, UIElement content) 478case StickyNoteType.Text: 487case StickyNoteType.Ink:
System\Windows\Annotations\AnnotationComponentChooser.cs (2)
69ac = new StickyNoteControl(StickyNoteType.Text) as IAnnotationComponent; 74ac = new StickyNoteControl(StickyNoteType.Ink) as IAnnotationComponent;
System\Windows\Controls\StickyNote.cs (19)
146private StickyNoteControl() : this(StickyNoteType.Text) 154internal StickyNoteControl(StickyNoteType type) : base() 480typeof(StickyNoteType), 482new FrameworkPropertyMetadata(StickyNoteType.Text)); 492public StickyNoteType StickyNoteType 494get{ return (StickyNoteType) GetValue(StickyNoteTypeProperty); } 810if (stickyNoteControl.Content != null && stickyNoteControl.Content.Type != StickyNoteType.Ink) 827if (e.Property == ForegroundProperty && stickyNoteControl.Content != null && stickyNoteControl.Content.Type != StickyNoteType.Ink) 1023XmlQualifiedName type = _stickyNoteType == StickyNoteType.Text ? 1236if (!IsKeyboardFocusWithin && this.StickyNoteType == StickyNoteType.Ink) 1469if (Content.Type != StickyNoteType.Ink) 1516if (Content.Type != StickyNoteType.Ink) 1540if (Content.Type == StickyNoteType.Ink) 1565if (Content.Type == StickyNoteType.Ink) 1725if (content == null || content.Type != StickyNoteType.Ink) 1762args.CanExecute = (content != null && content.Type == StickyNoteType.Ink); 1776if ( Content == null || Content.Type != StickyNoteType.Ink ) 1891private StickyNoteType _stickyNoteType = StickyNoteType.Text;