Skip to content

Commit

Permalink
fix: TemplateBinding clone should carry original Mode. (#13087)
Browse files Browse the repository at this point in the history
Co-authored-by: rabbitism <[email protected]>
  • Loading branch information
2 people authored and grokys committed Oct 2, 2023
1 parent b7ab5ad commit 008ef53
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Avalonia.Base/Data/TemplateBinding.cs
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,7 @@ public virtual void Dispose()
Converter = Converter,
ConverterParameter = ConverterParameter,
Property = Property,
Mode = Mode,
};

return clone.Initiate(target, targetProperty, anchor, enableDataValidation);
Expand Down

0 comments on commit 008ef53

Please sign in to comment.