示例#1
0
        public override object GetPropertyValue(object source, EvaluatorProperty propertyPath)
        {
            object res = GetPropertyValue(source, propertyPath.PropertyPath);

            if (res != m_NoResult)
            {
                return(res);
            }
            return(null);
        }
        public override object GetPropertyValue(object source, EvaluatorProperty propertyPath)
        {
            CustomValueEventArgs customValue = GetCustomValue(propertyPath.PropertyPath);

            if (customValue.Handled)
            {
                return(customValue.CustomValue);
            }
            return(base.GetPropertyValue(source, propertyPath));
        }