private void BuildSubstituteValueGetter() { if (_substituteValueGetter == null && _dataContextType != null) { _substituteValueGetter = BindingPropertyHelper.GetSubstituteValueGetter(_dataContextType, PropertyName, _precedence ?? DependencyPropertyValuePrecedences.Local); } }
private void BuildValueUnsetter() { if (_valueUnsetter == null && _dataContextType != null) { _valueUnsetter = _precedence == null? BindingPropertyHelper.GetValueUnsetter(_dataContextType, PropertyName) : BindingPropertyHelper.GetValueUnsetter(_dataContextType, PropertyName, precedence: _precedence.Value); } }
private void BuildPrecedenceSpecificValueGetter() { if (_precedenceSpecificGetter == null && _dataContextType != null) { _precedenceSpecificGetter = _precedence == null? BindingPropertyHelper.GetValueGetter(_dataContextType, PropertyName) : BindingPropertyHelper.GetPrecedenceSpecificValueGetter(_dataContextType, PropertyName, _precedence.Value); } }