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)
119
private StickyNoteControl() : this(
StickyNoteType
.Text)
127
internal StickyNoteControl(
StickyNoteType
type) : base()
447
typeof(
StickyNoteType
),
449
new FrameworkPropertyMetadata(
StickyNoteType
.Text));
459
public
StickyNoteType
StickyNoteType
461
get{ return (
StickyNoteType
) GetValue(StickyNoteTypeProperty); }
777
if (stickyNoteControl.Content != null && stickyNoteControl.Content.Type !=
StickyNoteType
.Ink)
793
if (e.Property == ForegroundProperty && stickyNoteControl.Content != null && stickyNoteControl.Content.Type !=
StickyNoteType
.Ink)
985
XmlQualifiedName type = _stickyNoteType ==
StickyNoteType
.Text ?
1198
if (!IsKeyboardFocusWithin && this.StickyNoteType ==
StickyNoteType
.Ink)
1416
if (Content.Type !=
StickyNoteType
.Ink)
1469
if (Content.Type !=
StickyNoteType
.Ink)
1493
if (Content.Type ==
StickyNoteType
.Ink)
1518
if (Content.Type ==
StickyNoteType
.Ink)
1684
if (content == null || content.Type !=
StickyNoteType
.Ink)
1721
args.CanExecute = (content != null && content.Type ==
StickyNoteType
.Ink);
1735
if ( Content == null || Content.Type !=
StickyNoteType
.Ink )
1850
private
StickyNoteType
_stickyNoteType =
StickyNoteType
.Text;