35 references to StickyNoteType
PresentationFramework (35)
MS\Internal\Controls\StickyNote\StickyNoteAnnotations.cs (6)
124if ((token & XmlToken.Ink) != 0 && snc.Content.Type == StickyNoteType.Ink) 130if ((token & XmlToken.Text) != 0 && snc.Content.Type == StickyNoteType.Text) 719if ((token == XmlToken.Ink && contentControl.Type != StickyNoteType.Ink) 720|| (token == XmlToken.Text && contentControl.Type != StickyNoteType.Text)) 1295_stickyNoteType = StickyNoteType.Ink; 1299_stickyNoteType = StickyNoteType.Text;
MS\Internal\Controls\StickyNote\StickyNoteContentControl.cs (8)
90abstract public StickyNoteType Type 268public override StickyNoteType Type 272return StickyNoteType.Text; 439public override StickyNoteType Type 443return StickyNoteType.Ink; 467public static StickyNoteContentControl CreateContentControl(StickyNoteType type, UIElement content) 473case StickyNoteType.Text: 482case StickyNoteType.Ink:
System\Windows\Annotations\AnnotationComponentChooser.cs (2)
65ac = new StickyNoteControl(StickyNoteType.Text) as IAnnotationComponent; 70ac = new StickyNoteControl(StickyNoteType.Ink) as IAnnotationComponent;
System\Windows\Controls\StickyNote.cs (19)
130private StickyNoteControl() : this(StickyNoteType.Text) 138internal StickyNoteControl(StickyNoteType type) : base() 464typeof(StickyNoteType), 466new FrameworkPropertyMetadata(StickyNoteType.Text)); 476public StickyNoteType StickyNoteType 478get{ return (StickyNoteType) GetValue(StickyNoteTypeProperty); } 794if (stickyNoteControl.Content != null && stickyNoteControl.Content.Type != StickyNoteType.Ink) 811if (e.Property == ForegroundProperty && stickyNoteControl.Content != null && stickyNoteControl.Content.Type != StickyNoteType.Ink) 1007XmlQualifiedName type = _stickyNoteType == StickyNoteType.Text ? 1220if (!IsKeyboardFocusWithin && this.StickyNoteType == StickyNoteType.Ink) 1453if (Content.Type != StickyNoteType.Ink) 1500if (Content.Type != StickyNoteType.Ink) 1524if (Content.Type == StickyNoteType.Ink) 1549if (Content.Type == StickyNoteType.Ink) 1709if (content == null || content.Type != StickyNoteType.Ink) 1746args.CanExecute = (content != null && content.Type == StickyNoteType.Ink); 1760if ( Content == null || Content.Type != StickyNoteType.Ink ) 1875private StickyNoteType _stickyNoteType = StickyNoteType.Text;