38 references to FullValueSource
WindowsBase (38)
Base\System\Windows\DependencyObject.cs (8)
1117
EffectiveValueEntry newEntry = new EffectiveValueEntry(dp,
FullValueSource
.IsCoerced);
1328
newEntry = new EffectiveValueEntry(dp,
FullValueSource
.IsCoerced);
1345
FullValueSource
fullValueSource = newEntry.FullValueSource;
1346
isCoerceValue = (fullValueSource ==
FullValueSource
.IsCoerced);
1447
!(isClearValue && newEntry.FullValueSource == (
FullValueSource
)BaseValueSourceInternal.Default))
1507
if (newEntry.FullValueSource != (
FullValueSource
) BaseValueSourceInternal.Default)
1631
bool oldEntryHadContext = oldEntry.FullValueSource == (
FullValueSource
) BaseValueSourceInternal.Local;
1632
bool newEntryNeedsContext = newEntry.FullValueSource == (
FullValueSource
) BaseValueSourceInternal.Local;
Base\System\Windows\EffectiveValueEntry.cs (30)
35
_source = (
FullValueSource
) BaseValueSourceInternal.Unknown;
42
_source = (
FullValueSource
) valueSource;
45
internal EffectiveValueEntry(DependencyProperty dp,
FullValueSource
fullValueSource)
168
_source &=
FullValueSource
.ValueSourceMask;
189
_source |=
FullValueSource
.IsExpression |
FullValueSource
.HasExpressionMarker;
199
_source |=
FullValueSource
.HasExpressionMarker;
258
get { return (BaseValueSourceInternal)(_source &
FullValueSource
.ValueSourceMask); }
259
set { _source = (_source & ~
FullValueSource
.ValueSourceMask) | (
FullValueSource
)value; }
270
bool isDeferredReference = ReadPrivateFlag(
FullValueSource
.IsPotentiallyADeferredReference);
275
isDeferredReference = ReadPrivateFlag(
FullValueSource
.IsPotentiallyADeferredReference);
281
private set { WritePrivateFlag(
FullValueSource
.IsPotentiallyADeferredReference, value); }
286
get { return ReadPrivateFlag(
FullValueSource
.IsExpression); }
287
private set { WritePrivateFlag(
FullValueSource
.IsExpression, value); }
292
get { return ReadPrivateFlag(
FullValueSource
.IsAnimated); }
293
private set { WritePrivateFlag(
FullValueSource
.IsAnimated, value); }
298
get { return ReadPrivateFlag(
FullValueSource
.IsCoerced); }
299
private set { WritePrivateFlag(
FullValueSource
.IsCoerced, value); }
304
get { return (_source &
FullValueSource
.ModifiersMask) != 0; }
307
internal
FullValueSource
FullValueSource
315
get { return ReadPrivateFlag(
FullValueSource
.HasExpressionMarker); }
316
set { WritePrivateFlag(
FullValueSource
.HasExpressionMarker, value); }
321
get { return ReadPrivateFlag(
FullValueSource
.IsCoercedWithCurrentValue); }
322
set { WritePrivateFlag(
FullValueSource
.IsCoercedWithCurrentValue, value); }
327
if ((_source & (
FullValueSource
.ModifiersMask |
FullValueSource
.HasExpressionMarker)) == 0)
563
private void WritePrivateFlag(
FullValueSource
bit, bool value)
575
private bool ReadPrivateFlag(
FullValueSource
bit)
586
private
FullValueSource
_source;