15 references to SourceMode
PresentationFramework (15)
System\Windows\Data\ObjectDataProvider.cs (15)
103
if (_mode ==
SourceMode
.FromInstance)
105
_mode = (value == null) ?
SourceMode
.NoSource :
SourceMode
.FromType;
126
return (_mode ==
SourceMode
.FromType) && (ObjectType != null);
156
if (_mode ==
SourceMode
.FromType)
158
_mode = (value == null) ?
SourceMode
.NoSource :
SourceMode
.FromInstance;
198
return (_mode ==
SourceMode
.FromInstance) && (ObjectInstance != null);
240
return (_mode ==
SourceMode
.FromType) && (_constructorParameters.Count > 0);
351
Debug.Assert(_mode !=
SourceMode
.FromType);
385
if (_mode ==
SourceMode
.NoSource || _objectType == null)
394
if (_needNewInstance && (_mode ==
SourceMode
.FromType))
616
Invariant.Assert (_mode !=
SourceMode
.FromInstance);
684
SourceMode
_mode =
SourceMode
.NoSource;