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