private XamlMember GetInstanceOrAttachableProperty (XamlType tagType, string propName, XamlType rootTagType) { XamlMember xamlAttachableProperty = this.GetXamlProperty(tagType, propName, rootTagType); if (xamlAttachableProperty == null) { xamlAttachableProperty = this.GetXamlAttachableProperty(tagType, propName); } return xamlAttachableProperty; }