Explain the need of binding and commands?



Explain the need of binding and commands?..

Answer / Kishor Kumar Shukla

Binding in WPF provides a simple way to link UI elements with underlying data sources. It enables dynamic updates and simplifies the process of maintaining synchronized state between data and user interface. Commands, on the other hand, allow separating the UI actions from their execution logic. This separation makes it easier to maintain code, reduce boilerplate code, and promote testability.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More WPF Interview Questions

What is wpf architecture?

1 Answers  


Describe the types of documents supported by WPF?

1 Answers  


Is wpf still relevant 2019?

1 Answers  


Write the differences between dynamicresource and staticresource?

1 Answers  


Name the methods present in the dependencyobject?

1 Answers  


What is style inheritance?

1 Answers  


Describe custom control briefly?

1 Answers  


How can I sort items in a ListBox in WPF?

1 Answers   Tech Mahindra,


What is the use of Data Templates in binding in WPF binding controls?

1 Answers  


Explain the difference between visual and logical tree in wpf?

1 Answers  


Explain the advantages of wpf?

1 Answers  


What is the difference between User Settings and Application Settings in WPF?

1 Answers   MindCracker,


Categories