object obj = Application.Current.FindResource(name); content = obj.ToString();return Application.Current.FindResource(ResKey);