Skip to content

Commit

Permalink
Setter not needed.
Browse files Browse the repository at this point in the history
  • Loading branch information
grokys committed Jan 20, 2020
1 parent fa81c42 commit f7f9e41
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Avalonia.Base/PropertyStore/ConstantValueEntry.cs
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ public ConstantValueEntry(

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;

Expand Down

0 comments on commit f7f9e41

Please sign in to comment.