internal void ResetValue() { if (this.HasModifiers) { ModifiedValue modifiedValue = this.ModifiedValue; this._source &= FullValueSource.ValueSourceMask; this.Value = modifiedValue.BaseValue; } }
private void WritePrivateFlag(FullValueSource bit, bool value) { if (value) { this._source |= bit; } else { this._source &= ~bit; } }
public INTERNAL_PropertyStorage(DependencyObject owner, DependencyProperty property, PropertyMetadata typeMetadata) { this._values = new object[6] { DependencyProperty.UnsetValue, //Local DependencyProperty.UnsetValue, //Animated DependencyProperty.UnsetValue, //ImplicitReference DependencyProperty.UnsetValue, //LocalStyle DependencyProperty.UnsetValue, //ThemeStyle DependencyProperty.UnsetValue, //Inherited }; this._source = (FullValueSource)BaseValueSourceInternal.Default; this.Owner = owner; this.Property = property; this.TypeMetadata = typeMetadata; this.Value = typeMetadata.DefaultValue; }
private bool ReadPrivateFlag(FullValueSource bit) { return((this._source & bit) != 0); }
internal EffectiveValueEntry(DependencyProperty dp, FullValueSource fullValueSource) { _propertyIndex = (short)dp.GlobalIndex; _value = DependencyProperty.UnsetValue; _source = fullValueSource; }
private bool ReadPrivateFlag(FullValueSource bit) { return (_source & bit) != 0; }
private void WritePrivateFlag(FullValueSource bit, bool value) { if (value) { _source |= bit; } else { _source &= ~bit; } }
internal EffectiveValueEntry(DependencyProperty dp, FullValueSource fullValueSource) { _propertyIndex = (short) dp.GlobalIndex; _value = DependencyProperty.UnsetValue; _source = fullValueSource; }
// Token: 0x060089F3 RID: 35315 RVA: 0x00256803 File Offset: 0x00254A03 public ModifiedItemValue(object value, FullValueSource valueSource) { this._value = value; this._valueSource = valueSource; }
public ModifiedItemValue(object value, FullValueSource valueSource) { _value = value; _valueSource = valueSource; }