3 writes to _mode
PresentationFramework (3)
System\Windows\Data\RelativeSource.cs (3)
54
_mode
= RelativeSourceMode.FindAncestor;
279
_mode
= mode;
286
_mode
= mode;
12 references to _mode
PresentationFramework (12)
System\Windows\Data\RelativeSource.cs (12)
87
if (
_mode
== RelativeSourceMode.FindAncestor && (AncestorType == null))
146
get { return
_mode
; }
153
else if (value !=
_mode
) // mode changes are not allowed
171
Debug.Assert(
_mode
== RelativeSourceMode.FindAncestor);
175
if (
_mode
!= RelativeSourceMode.FindAncestor)
195
return (
_mode
== RelativeSourceMode.FindAncestor);
209
Debug.Assert((!IsUninitialized) || (
_mode
== RelativeSourceMode.FindAncestor));
211
if (
_mode
!= RelativeSourceMode.FindAncestor)
235
return (
_mode
== RelativeSourceMode.FindAncestor);
252
if (
_mode
== RelativeSourceMode.PreviousData)
254
if (
_mode
== RelativeSourceMode.Self)
256
if (
_mode
== RelativeSourceMode.TemplatedParent)