You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
I was binding a dictionnary value to the visibility property of one of my controls and I found that when I provide a key that isn't in the dictionnary, there is no exception thrown and the control just show on the screen like if the binding never existed.
Is it supposed to work like that or is it a bug ?
Below are the parts of the code i use :
The binding function :
this.OneWayBind(ViewModel, vm => vm.GestionUtilisateurs.Utilisateur.Droits["non existing key"], view => view.lb_operateur.Visibility).DisposeWith(disposableRegistration);
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
I was binding a dictionnary value to the visibility property of one of my controls and I found that when I provide a key that isn't in the dictionnary, there is no exception thrown and the control just show on the screen like if the binding never existed.
Is it supposed to work like that or is it a bug ?
Below are the parts of the code i use :
The binding function :
The creation of the "Droits" dictionnary :
Beta Was this translation helpful? Give feedback.
All reactions