Browse Source

Setter not needed.

Steven Kirk 5 years ago
parent
commit
f7f9e41bf7
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/Avalonia.Base/PropertyStore/ConstantValueEntry.cs

+ 1 - 1
src/Avalonia.Base/PropertyStore/ConstantValueEntry.cs

@@ -19,7 +19,7 @@ namespace Avalonia.PropertyStore
 
         public StyledPropertyBase<T> Property { get; }
         public BindingPriority Priority { get; }
-        public Optional<T> Value { get; private set; }
+        public Optional<T> Value { get; }
         Optional<object> IValue.Value => Value.ToObject();
         BindingPriority IValue.ValuePriority => Priority;