15 references to SourceMode
PresentationFramework (15)
System\Windows\Data\ObjectDataProvider.cs (15)
98
if (_mode ==
SourceMode
.FromInstance)
100
_mode = (value == null) ?
SourceMode
.NoSource :
SourceMode
.FromType;
121
return (_mode ==
SourceMode
.FromType) && (ObjectType != null);
151
if (_mode ==
SourceMode
.FromType)
153
_mode = (value == null) ?
SourceMode
.NoSource :
SourceMode
.FromInstance;
193
return (_mode ==
SourceMode
.FromInstance) && (ObjectInstance != null);
235
return (_mode ==
SourceMode
.FromType) && (_constructorParameters.Count > 0);
346
Debug.Assert(_mode !=
SourceMode
.FromType);
380
if (_mode ==
SourceMode
.NoSource || _objectType == null)
389
if (_needNewInstance && (_mode ==
SourceMode
.FromType))
611
Invariant.Assert (_mode !=
SourceMode
.FromInstance);
679
SourceMode
_mode =
SourceMode
.NoSource;