Replies: 2 comments
-
Check Avalonia.Samples RatingControl |
Beta Was this translation helpful? Give feedback.
0 replies
-
Thank you! I changed them to Direct properties since they seemed more appropriate and thanks to |
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
-
Hi all,
I have a question on how to make a particular scenario work.
I have a user Control with a StyledProperty that controls how some of the contents gets displayed:
I have put this control inside another one that also has a styled property whose value I want to use:
What seems to be happening is when the
CardDataView
is created it creates theCardMetricsView
with using the default value forShowPopup
to calculate the value ofHighlightImportance
. So far so good... But when theShowPopup
gets set by a top level control that does not propagate toHighlightImportance
.My guess is that there is
INotifyPropertyChanged
missing, but I can't see to find the canonical way to implement this. Especially sinceUserControl
already implements this, but makes it hard to hook into.Any advice?
Beta Was this translation helpful? Give feedback.
All reactions