35 references to StickyNoteType
PresentationFramework (35)
MS\Internal\Controls\StickyNote\StickyNoteAnnotations.cs (6)
123if ((token & XmlToken.Ink) != 0 && snc.Content.Type == StickyNoteType.Ink) 129if ((token & XmlToken.Text) != 0 && snc.Content.Type == StickyNoteType.Text) 718if ((token == XmlToken.Ink && contentControl.Type != StickyNoteType.Ink) 719|| (token == XmlToken.Text && contentControl.Type != StickyNoteType.Text)) 1294_stickyNoteType = StickyNoteType.Ink; 1298_stickyNoteType = StickyNoteType.Text;
MS\Internal\Controls\StickyNote\StickyNoteContentControl.cs (8)
89public abstract StickyNoteType Type 267public override StickyNoteType Type 271return StickyNoteType.Text; 438public override StickyNoteType Type 442return StickyNoteType.Ink; 466public static StickyNoteContentControl CreateContentControl(StickyNoteType type, UIElement content) 472case StickyNoteType.Text: 481case StickyNoteType.Ink:
System\Windows\Annotations\AnnotationComponentChooser.cs (2)
64ac = new StickyNoteControl(StickyNoteType.Text) as IAnnotationComponent; 69ac = new StickyNoteControl(StickyNoteType.Ink) as IAnnotationComponent;
System\Windows\Controls\StickyNote.cs (19)
118private StickyNoteControl() : this(StickyNoteType.Text) 126internal StickyNoteControl(StickyNoteType type) : base() 446typeof(StickyNoteType), 448new FrameworkPropertyMetadata(StickyNoteType.Text)); 458public StickyNoteType StickyNoteType 460get{ return (StickyNoteType) GetValue(StickyNoteTypeProperty); } 776if (stickyNoteControl.Content != null && stickyNoteControl.Content.Type != StickyNoteType.Ink) 792if (e.Property == ForegroundProperty && stickyNoteControl.Content != null && stickyNoteControl.Content.Type != StickyNoteType.Ink) 984XmlQualifiedName type = _stickyNoteType == StickyNoteType.Text ? 1197if (!IsKeyboardFocusWithin && this.StickyNoteType == StickyNoteType.Ink) 1415if (Content.Type != StickyNoteType.Ink) 1468if (Content.Type != StickyNoteType.Ink) 1492if (Content.Type == StickyNoteType.Ink) 1517if (Content.Type == StickyNoteType.Ink) 1683if (content == null || content.Type != StickyNoteType.Ink) 1720args.CanExecute = (content != null && content.Type == StickyNoteType.Ink); 1734if ( Content == null || Content.Type != StickyNoteType.Ink ) 1849private StickyNoteType _stickyNoteType = StickyNoteType.Text;