C
C#14mo 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
canton714mo 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
Elio14mo 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
canton714mo ago
Awesome, good to hear!
Accord
Accord14mo 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.