Page 1 of 1

Visibility binding

Posted: 04 May 2022, 20:10
by cdoty
I am having issues when Binding a ComboBox Visibility parameter.

I am not using a converter. I store either "Visible" or "Hidden" into a NsString value.

It works the first time, but will not update after that.

Re: Visibility binding

Posted: 04 May 2022, 21:10
by cdoty
I fixed it by properly implementing NoesisApp::NotifyPropertyChangedBase in the data class.

Re: Visibility binding

Posted: 04 May 2022, 21:21
by sfernandez
Yes, you need to implement INotifyPropertyChanged and notify the UI that your data changed.
Marking this as solved.