C
C#2y ago
Elio

❔ WPF converter Parameter

Hello, is this supposed to work or should i give the paramater to my converter by using the Converterparameter variable ?
4 Replies
canton7
canton72y ago
That should work IIRC, yes Just try with a static string (GreenPrimaryColour="Green"), see if that works If it does, but the StaticResource doesn't, you might need to make GreenPrimaryColor a DepencencyProperty
Elio
ElioOP2y ago
oh yes it work sorry to bother you i just had to run the app to refresh the error which said that i cannot find my public variable ... well everything work now thanks !
canton7
canton72y ago
Awesome, good to hear!
Accord
Accord2y ago
Was this issue resolved? If so, run /close - otherwise I will mark this as stale and this post will be archived until there is new activity.
Want results from more Discord servers?
Add your server