66 references to BaseValueSourceInternal
WindowsBase (66)
Base\System\Windows\DeferredReference.cs (2)
38
internal abstract object GetValue(
BaseValueSourceInternal
valueSource);
61
internal override object GetValue(
BaseValueSourceInternal
valueSource)
Base\System\Windows\DependencyObject.cs (52)
208
BaseValueSourceInternal
valueSource;
232
entry = new EffectiveValueEntry(dp,
BaseValueSourceInternal
.Unknown);
257
entry.BaseValueSourceInternal =
BaseValueSourceInternal
.Inherited;
279
entry.BaseValueSourceInternal =
BaseValueSourceInternal
.Default;
722
oldEntry = new EffectiveValueEntry(dp,
BaseValueSourceInternal
.Default);
746
value = ((DeferredReference) value).GetValue(
BaseValueSourceInternal
.Local);
781
newEntry = new EffectiveValueEntry(dp,
BaseValueSourceInternal
.Local);
810
SetEffectiveValue(entryIndex, dp, dp.GlobalIndex, metadata, newExpr,
BaseValueSourceInternal
.Local);
1023
EffectiveValueEntry newEntry = new EffectiveValueEntry(dp,
BaseValueSourceInternal
.Local);
1222
EffectiveValueEntry newEntry = new EffectiveValueEntry(dp,
BaseValueSourceInternal
.Unknown);
1293
if (oldEntry.BaseValueSourceInternal ==
BaseValueSourceInternal
.Unknown)
1333
if ((newEntry.BaseValueSourceInternal !=
BaseValueSourceInternal
.Unknown) &&
1349
if (newEntry.BaseValueSourceInternal ==
BaseValueSourceInternal
.Local)
1383
newEntry.BaseValueSourceInternal =
BaseValueSourceInternal
.Inherited;
1447
!(isClearValue && newEntry.FullValueSource == (FullValueSource)
BaseValueSourceInternal
.Default))
1507
if (newEntry.FullValueSource != (FullValueSource)
BaseValueSourceInternal
.Default)
1509
Debug.Assert(newEntry.BaseValueSourceInternal !=
BaseValueSourceInternal
.Unknown, "Value source should be known at this point");
1512
if (newEntry.BaseValueSourceInternal ==
BaseValueSourceInternal
.Inherited)
1631
bool oldEntryHadContext = oldEntry.FullValueSource == (FullValueSource)
BaseValueSourceInternal
.Local;
1632
bool newEntryNeedsContext = newEntry.FullValueSource == (FullValueSource)
BaseValueSourceInternal
.Local;
1909
bool isSetValue = (newEntry.BaseValueSourceInternal ==
BaseValueSourceInternal
.Local);
1915
if (newEntry.BaseValueSourceInternal ==
BaseValueSourceInternal
.Unknown &&
1928
newEntry.BaseValueSourceInternal =
BaseValueSourceInternal
.Unknown;
1951
newEntry = new EffectiveValueEntry(dp,
BaseValueSourceInternal
.Local);
1979
if (newEntry.BaseValueSourceInternal ==
BaseValueSourceInternal
.Unknown)
2094
internal
BaseValueSourceInternal
GetValueSource(DependencyProperty dp, PropertyMetadata metadata, out bool hasModifiers)
2101
internal
BaseValueSourceInternal
GetValueSource(DependencyProperty dp, PropertyMetadata metadata,
2138
BaseValueSourceInternal
source;
2158
return
BaseValueSourceInternal
.Inherited;
2165
return
BaseValueSourceInternal
.Default;
3090
SetEffectiveValue(entryIndex, dp, dp.GlobalIndex, metadata, value,
BaseValueSourceInternal
.Inherited);
3264
(newEntry.BaseValueSourceInternal !=
BaseValueSourceInternal
.Inherited ||
3276
BaseValueSourceInternal
valueSource = newEntry.BaseValueSourceInternal;
3277
restoreMarker = (valueSource ==
BaseValueSourceInternal
.ThemeStyle ||
3278
valueSource ==
BaseValueSourceInternal
.ThemeStyleTrigger ||
3279
valueSource ==
BaseValueSourceInternal
.Style ||
3280
valueSource ==
BaseValueSourceInternal
.TemplateTrigger ||
3281
valueSource ==
BaseValueSourceInternal
.StyleTrigger ||
3282
valueSource ==
BaseValueSourceInternal
.ParentTemplate ||
3283
valueSource ==
BaseValueSourceInternal
.ParentTemplateTrigger);
3343
internal void SetEffectiveValue(EntryIndex entryIndex, DependencyProperty dp, int targetIndex, PropertyMetadata metadata, object value,
BaseValueSourceInternal
valueSource)
3346
Debug.Assert(valueSource !=
BaseValueSourceInternal
.Unknown, "ValueSource cannot be Unknown");
3353
valueSource !=
BaseValueSourceInternal
.Inherited &&
3380
(valueSource ==
BaseValueSourceInternal
.ThemeStyle ||
3381
valueSource ==
BaseValueSourceInternal
.ThemeStyleTrigger ||
3382
valueSource ==
BaseValueSourceInternal
.Style ||
3383
valueSource ==
BaseValueSourceInternal
.TemplateTrigger ||
3384
valueSource ==
BaseValueSourceInternal
.StyleTrigger ||
3385
valueSource ==
BaseValueSourceInternal
.ParentTemplate ||
3386
valueSource ==
BaseValueSourceInternal
.ParentTemplateTrigger))
3401
Debug.Assert(entry.BaseValueSourceInternal !=
BaseValueSourceInternal
.Local || valueSource ==
BaseValueSourceInternal
.Local,
Base\System\Windows\DependencyPropertyChangedEventArgs.cs (2)
181
internal
BaseValueSourceInternal
OldValueSource
240
internal
BaseValueSourceInternal
NewValueSource
Base\System\Windows\EffectiveValueEntry.cs (7)
25
EffectiveValueEntry entry = new EffectiveValueEntry(dp,
BaseValueSourceInternal
.Default);
35
_source = (FullValueSource)
BaseValueSourceInternal
.Unknown;
38
internal EffectiveValueEntry(DependencyProperty dp,
BaseValueSourceInternal
valueSource)
256
internal
BaseValueSourceInternal
BaseValueSourceInternal
258
get { return (
BaseValueSourceInternal
)(_source & FullValueSource.ValueSourceMask); }
484
if (BaseValueSourceInternal ==
BaseValueSourceInternal
.Local)
505
Debug.Assert(BaseValueSourceInternal ==
BaseValueSourceInternal
.Local, "This can happen only on an entry already having a local value");
Base\System\Windows\Freezable.cs (1)
937
Debug.Assert(srcEntry.BaseValueSourceInternal !=
BaseValueSourceInternal
.Default || srcEntry.HasModifiers);
Base\System\Windows\PropertyMetadata.cs (1)
782
internal delegate object GetReadOnlyValueCallback(DependencyObject d, out
BaseValueSourceInternal
source);
Base\System\Windows\UncommonField.cs (1)
54
instance.SetEffectiveValue(entryIndex, null /* dp */, _globalIndex, null /* metadata */, value,
BaseValueSourceInternal
.Local);