3 writes to _mode
PresentationFramework (3)
src\Framework\System\Windows\Data\RelativeSource.cs (3)
59
_mode
= RelativeSourceMode.FindAncestor;
284
_mode
= mode;
291
_mode
= mode;
12 references to _mode
PresentationFramework (12)
src\Framework\System\Windows\Data\RelativeSource.cs (12)
92
if (
_mode
== RelativeSourceMode.FindAncestor && (AncestorType == null))
151
get { return
_mode
; }
158
else if (value !=
_mode
) // mode changes are not allowed
176
Debug.Assert(
_mode
== RelativeSourceMode.FindAncestor);
180
if (
_mode
!= RelativeSourceMode.FindAncestor)
200
return (
_mode
== RelativeSourceMode.FindAncestor);
214
Debug.Assert((!IsUninitialized) || (
_mode
== RelativeSourceMode.FindAncestor));
216
if (
_mode
!= RelativeSourceMode.FindAncestor)
240
return (
_mode
== RelativeSourceMode.FindAncestor);
257
if (
_mode
== RelativeSourceMode.PreviousData)
259
if (
_mode
== RelativeSourceMode.Self)
261
if (
_mode
== RelativeSourceMode.TemplatedParent)