35 references to StickyNoteType
PresentationFramework (35)
src\Framework\MS\Internal\Controls\StickyNote\StickyNoteAnnotations.cs (6)
140
if ((token & XmlToken.Ink) != 0 && snc.Content.Type ==
StickyNoteType
.Ink)
146
if ((token & XmlToken.Text) != 0 && snc.Content.Type ==
StickyNoteType
.Text)
736
if ((token == XmlToken.Ink && contentControl.Type !=
StickyNoteType
.Ink)
737
|| (token == XmlToken.Text && contentControl.Type !=
StickyNoteType
.Text))
1320
_stickyNoteType =
StickyNoteType
.Ink;
1324
_stickyNoteType =
StickyNoteType
.Text;
src\Framework\MS\Internal\Controls\StickyNote\StickyNoteContentControl.cs (8)
101
abstract public
StickyNoteType
Type
279
public override
StickyNoteType
Type
283
return
StickyNoteType
.Text;
450
public override
StickyNoteType
Type
454
return
StickyNoteType
.Ink;
478
public static StickyNoteContentControl CreateContentControl(
StickyNoteType
type, UIElement content)
484
case
StickyNoteType
.Text:
493
case
StickyNoteType
.Ink:
src\Framework\System\Windows\Annotations\AnnotationComponentChooser.cs (2)
74
ac = new StickyNoteControl(
StickyNoteType
.Text) as IAnnotationComponent;
79
ac = new StickyNoteControl(
StickyNoteType
.Ink) as IAnnotationComponent;
src\Framework\System\Windows\Controls\StickyNote.cs (19)
156
private StickyNoteControl() : this(
StickyNoteType
.Text)
164
internal StickyNoteControl(
StickyNoteType
type) : base()
490
typeof(
StickyNoteType
),
492
new FrameworkPropertyMetadata(
StickyNoteType
.Text));
502
public
StickyNoteType
StickyNoteType
504
get{ return (
StickyNoteType
) GetValue(StickyNoteTypeProperty); }
820
if (stickyNoteControl.Content != null && stickyNoteControl.Content.Type !=
StickyNoteType
.Ink)
837
if (e.Property == ForegroundProperty && stickyNoteControl.Content != null && stickyNoteControl.Content.Type !=
StickyNoteType
.Ink)
1033
XmlQualifiedName type = _stickyNoteType ==
StickyNoteType
.Text ?
1246
if (!IsKeyboardFocusWithin && this.StickyNoteType ==
StickyNoteType
.Ink)
1479
if (Content.Type !=
StickyNoteType
.Ink)
1526
if (Content.Type !=
StickyNoteType
.Ink)
1550
if (Content.Type ==
StickyNoteType
.Ink)
1575
if (Content.Type ==
StickyNoteType
.Ink)
1762
if (content == null || content.Type !=
StickyNoteType
.Ink)
1799
args.CanExecute = (content != null && content.Type ==
StickyNoteType
.Ink);
1813
if ( Content == null || Content.Type !=
StickyNoteType
.Ink )
1928
private
StickyNoteType
_stickyNoteType =
StickyNoteType
.Text;