wpf - ICommand vs IValueConverter -


i new wpf. developing application in wpf had enable/disable button based on value database. found solutions on net using command converters. 1 better solution , why?

when working buttons best use command implementation , since built in , can provide command parameter predicate , converter need write , instance , place in each place wan't use .

to summarize command canexecute more reusable , maintainable .


Comments

Popular posts from this blog

html - How to style widget with post count different than without post count -

How to remove text and logo OR add Overflow on Android ActionBar using AppCompat on API 8? -

javascript - storing input from prompt in array and displaying the array -