Browse Source

Get all Set Properties

pull/692/head
jkuehner 10 years ago
parent
commit
48f64dbd1a
  1. 4
      src/AddIns/DisplayBindings/WpfDesign/WpfDesign.Designer/Project/Xaml/XamlDesignItem.cs
  2. 5
      src/AddIns/DisplayBindings/WpfDesign/WpfDesign/Project/DesignItem.cs

4
src/AddIns/DisplayBindings/WpfDesign/WpfDesign.Designer/Project/Xaml/XamlDesignItem.cs

@ -260,6 +260,10 @@ namespace ICSharpCode.WpfDesign.Designer.Xaml @@ -260,6 +260,10 @@ namespace ICSharpCode.WpfDesign.Designer.Xaml
get { return _properties; }
}
public override IEnumerable<DesignItemProperty> AllSetProperties {
get { return _xamlObject.Properties.Select(x => new XamlModelProperty(this, x)); }
}
internal void NotifyPropertyChanged(XamlModelProperty property)
{
Debug.Assert(property != null);

5
src/AddIns/DisplayBindings/WpfDesign/WpfDesign/Project/DesignItem.cs

@ -78,6 +78,11 @@ namespace ICSharpCode.WpfDesign @@ -78,6 +78,11 @@ namespace ICSharpCode.WpfDesign
/// </summary>
public abstract DesignItemPropertyCollection Properties { get; }
/// <summary>
/// Gets properties set on the design item.
/// </summary>
public abstract IEnumerable<DesignItemProperty> AllSetProperties { get; }
/// <summary>
/// Gets/Sets the name of the design item.
/// </summary>

Loading…
Cancel
Save