/// <summary> /// Initializes a new SimplePropertyMap instance mapping for a calculated /// value. /// </summary> private static SimplePropertyMap FromDelegate(DependencyProperty property, CalculateValueCallback callback, string xmlName) { SimplePropertyMap result = new SimplePropertyMap(); result.Property = property; result.CalculateValue = callback; result.XmlName = xmlName; return(result); }
/// <summary> /// Initializes a new SimplePropertyMap instance mapping for a calculated /// value. /// </summary> private static SimplePropertyMap FromDelegate(DependencyProperty property, CalculateValueCallback callback, string xmlName) { SimplePropertyMap result = new SimplePropertyMap(); result.Property = property; result.CalculateValue = callback; result.XmlName = xmlName; return result; }