35 references to StickyNoteType
PresentationFramework (35)
MS\Internal\Controls\StickyNote\StickyNoteAnnotations.cs (6)
134
if ((token & XmlToken.Ink) != 0 && snc.Content.Type ==
StickyNoteType
.Ink)
140
if ((token & XmlToken.Text) != 0 && snc.Content.Type ==
StickyNoteType
.Text)
729
if ((token == XmlToken.Ink && contentControl.Type !=
StickyNoteType
.Ink)
730
|| (token == XmlToken.Text && contentControl.Type !=
StickyNoteType
.Text))
1305
_stickyNoteType =
StickyNoteType
.Ink;
1309
_stickyNoteType =
StickyNoteType
.Text;
MS\Internal\Controls\StickyNote\StickyNoteContentControl.cs (8)
95
abstract public
StickyNoteType
Type
273
public override
StickyNoteType
Type
277
return
StickyNoteType
.Text;
444
public override
StickyNoteType
Type
448
return
StickyNoteType
.Ink;
472
public static StickyNoteContentControl CreateContentControl(
StickyNoteType
type, UIElement content)
478
case
StickyNoteType
.Text:
487
case
StickyNoteType
.Ink:
System\Windows\Annotations\AnnotationComponentChooser.cs (2)
69
ac = new StickyNoteControl(
StickyNoteType
.Text) as IAnnotationComponent;
74
ac = new StickyNoteControl(
StickyNoteType
.Ink) as IAnnotationComponent;
System\Windows\Controls\StickyNote.cs (19)
146
private StickyNoteControl() : this(
StickyNoteType
.Text)
154
internal StickyNoteControl(
StickyNoteType
type) : base()
480
typeof(
StickyNoteType
),
482
new FrameworkPropertyMetadata(
StickyNoteType
.Text));
492
public
StickyNoteType
StickyNoteType
494
get{ return (
StickyNoteType
) GetValue(StickyNoteTypeProperty); }
810
if (stickyNoteControl.Content != null && stickyNoteControl.Content.Type !=
StickyNoteType
.Ink)
827
if (e.Property == ForegroundProperty && stickyNoteControl.Content != null && stickyNoteControl.Content.Type !=
StickyNoteType
.Ink)
1023
XmlQualifiedName type = _stickyNoteType ==
StickyNoteType
.Text ?
1236
if (!IsKeyboardFocusWithin && this.StickyNoteType ==
StickyNoteType
.Ink)
1469
if (Content.Type !=
StickyNoteType
.Ink)
1516
if (Content.Type !=
StickyNoteType
.Ink)
1540
if (Content.Type ==
StickyNoteType
.Ink)
1565
if (Content.Type ==
StickyNoteType
.Ink)
1725
if (content == null || content.Type !=
StickyNoteType
.Ink)
1762
args.CanExecute = (content != null && content.Type ==
StickyNoteType
.Ink);
1776
if ( Content == null || Content.Type !=
StickyNoteType
.Ink )
1891
private
StickyNoteType
_stickyNoteType =
StickyNoteType
.Text;