✅ WPF simple project need help with binding
so i have ColorArgb class which stands for color, and i have to bind it in xaml for rectangle background.
11 Replies
we can go voice i can share demo
i dont think its hard but i cant do that
You will have to probably use a converter
Stack Overflow
How do I bind ARGB values to a rectangle fill property in a combo b...
I have a combobox of custom objects each of which is displayed as a colored rectangle and beside it a text.
I have the ARGB values I want to display from the object, but I want to convert that t...
I have the ARGB values I want to display from the object, but I want to convert that t...
or use a SolidColorBrush straight away, if you are fine with having your ViewModel dependent on the UI platform (which isn't ideal, but should be fine for a smaller application)
thx i`ll try
SubCategory is red
what should i do about it
I have no idea what a
subcategory
is. You should probably add a missing using? Add a missing reference?
Ctrl+.
or use the lightbulb that appear on the line of the errorThis has been resolved in #gui
@wqqsdq please close this thread using
/close
if the issue is resolvedok, but its not done yet