cdoty
Topic Author
Posts: 13
Joined: 30 Nov 2017, 13:34

Visibility binding

04 May 2022, 20:10

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.
 
cdoty
Topic Author
Posts: 13
Joined: 30 Nov 2017, 13:34

Re: Visibility binding

04 May 2022, 21:10

I fixed it by properly implementing NoesisApp::NotifyPropertyChangedBase in the data class.
 
User avatar
sfernandez
Site Admin
Posts: 2983
Joined: 22 Dec 2011, 19:20

Re: Visibility binding

04 May 2022, 21:21

Yes, you need to implement INotifyPropertyChanged and notify the UI that your data changed.
Marking this as solved.

Who is online

Users browsing this forum: Google [Bot] and 93 guests