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