private object GetVmValue() { if (_source.Component is DataContext) { return((_source.Component as DataContext).GetValue(_vmProp)); } return(_vmProp.GetValue(_source.Component, null)); }
internal object GetValue(PropertyBinding.PropertyPath property) { if (_value == null) { return(null); } return(property.GetValue(_value, null)); }