Browse Source

Remove unused DesignItem.ValueOnInstance setter.

git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@5551 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
pull/1/head
Daniel Grunwald 16 years ago
parent
commit
1a5042de91
  1. 2
      src/AddIns/DisplayBindings/WpfDesign/WpfDesign.Designer/Project/Xaml/XamlModelProperty.cs
  2. 5
      src/AddIns/DisplayBindings/WpfDesign/WpfDesign/Project/DesignItemProperty.cs

2
src/AddIns/DisplayBindings/WpfDesign/WpfDesign.Designer/Project/Xaml/XamlModelProperty.cs

@ -141,7 +141,7 @@ namespace ICSharpCode.WpfDesign.Designer.Xaml @@ -141,7 +141,7 @@ namespace ICSharpCode.WpfDesign.Designer.Xaml
public override object ValueOnInstance {
get { return _property.ValueOnInstance; }
set { _property.ValueOnInstance = value; }
//set { _property.ValueOnInstance = value; }
}
public override bool IsSet {

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

@ -74,7 +74,7 @@ namespace ICSharpCode.WpfDesign @@ -74,7 +74,7 @@ namespace ICSharpCode.WpfDesign
/// Is raised when the value of the property changes (by calling <see cref="SetValue"/> or <see cref="Reset"/>).
/// </summary>
public abstract event EventHandler ValueChanged;
/// <summary>
/// Is raised when the <see cref="ValueOnInstance"/> property changes.
/// This event is not raised when the value is changed without going through the designer infrastructure.
@ -84,9 +84,8 @@ namespace ICSharpCode.WpfDesign @@ -84,9 +84,8 @@ namespace ICSharpCode.WpfDesign
/// <summary>
/// Gets/Sets the value of the property on the designed instance.
/// If the property is not set, this returns the default value.
/// The setter does NOT update the underlying model, use SetValue() instead!
/// </summary>
public abstract object ValueOnInstance { get; set; }
public abstract object ValueOnInstance { get; }
/// <summary>
/// Sets the value of the property.

Loading…
Cancel
Save