Browse Source

Implement IEnumerable on XAML Properties

pull/692/head
jogibear9988 10 years ago
parent
commit
35b7b8e463
  1. 7
      src/AddIns/DisplayBindings/WpfDesign/WpfDesign.Designer/Project/Xaml/XamlModelPropertyCollection.cs

7
src/AddIns/DisplayBindings/WpfDesign/WpfDesign.Designer/Project/Xaml/XamlModelPropertyCollection.cs

@ -24,6 +24,8 @@ using System.Collections.Generic; @@ -24,6 +24,8 @@ using System.Collections.Generic;
namespace ICSharpCode.WpfDesign.Designer.Xaml
{
using System.Linq;
sealed class XamlModelPropertyCollection : DesignItemPropertyCollection
{
XamlDesignItem _item;
@ -51,7 +53,10 @@ namespace ICSharpCode.WpfDesign.Designer.Xaml @@ -51,7 +53,10 @@ namespace ICSharpCode.WpfDesign.Designer.Xaml
public override System.Collections.Generic.IEnumerator<DesignItemProperty> GetEnumerator()
{
yield break;
foreach (var value in propertiesDictionary.Values)
{
yield return value;
}
}
}
}

Loading…
Cancel
Save