diff --git a/src/AddIns/DisplayBindings/WpfDesign/WpfDesign.Designer/Project/Xaml/XamlModelProperty.cs b/src/AddIns/DisplayBindings/WpfDesign/WpfDesign.Designer/Project/Xaml/XamlModelProperty.cs index 79dd96d0d6..0de627e5b9 100644 --- a/src/AddIns/DisplayBindings/WpfDesign/WpfDesign.Designer/Project/Xaml/XamlModelProperty.cs +++ b/src/AddIns/DisplayBindings/WpfDesign/WpfDesign.Designer/Project/Xaml/XamlModelProperty.cs @@ -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 { diff --git a/src/AddIns/DisplayBindings/WpfDesign/WpfDesign/Project/DesignItemProperty.cs b/src/AddIns/DisplayBindings/WpfDesign/WpfDesign/Project/DesignItemProperty.cs index 7d5938091c..0d350147ee 100644 --- a/src/AddIns/DisplayBindings/WpfDesign/WpfDesign/Project/DesignItemProperty.cs +++ b/src/AddIns/DisplayBindings/WpfDesign/WpfDesign/Project/DesignItemProperty.cs @@ -74,7 +74,7 @@ namespace ICSharpCode.WpfDesign /// Is raised when the value of the property changes (by calling or ). /// public abstract event EventHandler ValueChanged; - + /// /// Is raised when the 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 /// /// 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! /// - public abstract object ValueOnInstance { get; set; } + public abstract object ValueOnInstance { get; } /// /// Sets the value of the property.