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

            return(property.GetValue(_value, null));
        }