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)
87if (_mode == RelativeSourceMode.FindAncestor && (AncestorType == null)) 146get { return _mode; } 153else if (value != _mode) // mode changes are not allowed 171Debug.Assert(_mode == RelativeSourceMode.FindAncestor); 175if (_mode != RelativeSourceMode.FindAncestor) 195return (_mode == RelativeSourceMode.FindAncestor); 209Debug.Assert((!IsUninitialized) || (_mode == RelativeSourceMode.FindAncestor)); 211if (_mode != RelativeSourceMode.FindAncestor) 235return (_mode == RelativeSourceMode.FindAncestor); 252if (_mode == RelativeSourceMode.PreviousData) 254if (_mode == RelativeSourceMode.Self) 256if (_mode == RelativeSourceMode.TemplatedParent)