Explain one way, two way, one time and one way to source?

Answer

All the above 4 things define how data will flow between target and source objects when WPF binding is applied.

Two way: - Data can flow from both source to target and from target to source.

One way: - Data flows only from source to target.

One way to source: - Data flows only from target to source.

One time: - Data flows only for the first time from source to target and after that no communication happens.

Below is an easy tabular representation to memorize the same.

One way to source

 

Data flow

Bindings Target to Source Source target
Two way Yes Yes
One way to source Yes No
One way No Yes
One time No For first Yes

All wpf Questions

Ask your interview questions on wpf

Write Your comment or Questions if you want the answers on wpf from wpf Experts
Name* :
Email Id* :
Mob no* :
Question
Or
Comment* :
 





Disclimer: PCDS.CO.IN not responsible for any content, information, data or any feature of website. If you are using this website then its your own responsibility to understand the content of the website

--------- Tutorials ---