Replies: 2 comments 2 replies
-
See how Avalonia.samples RatingControl sample does it |
Beta Was this translation helpful? Give feedback.
2 replies
-
For future reference ... here is the solution. Note that I removed one of the buttons from the original as it messing with the UI.
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have an Avalonia Templated control that has a Styled Property of "Value" that is a string. It's purpose is to accept a series of tags that are separated by spaces. I would like to split that string and show the individual tags in an item control (or item repeater).
So - I wrote code to catch the changes to "Value" and split out the values and put them in an observable collection. I know that the collection is being populated correctly, but I cannot get it to display on the control.
I've tried making the collection as an observablecollection, avalonialist, styled property, direct property, etc. Also tried templatebinding vs binding to the parent for the itemscontrol.
Any thoughts on what I am doing wrong?
Beta Was this translation helpful? Give feedback.
All reactions