MSDN > フォーラム ホーム > Working with Data in WPF Applications in the Visual Studio 2010 and .NET Framework 4.0 CTP > Why source property need not be a dependency property in data binding in WPF?
質問する質問する
 

質問Why source property need not be a dependency property in data binding in WPF?

  • 2009年3月7日 22:01narmishaba ユーザーのメダルユーザーのメダルユーザーのメダルユーザーのメダルユーザーのメダル
     
    Hi,

        I am very much confused with one fact in WPF Data Binding. WPF says that in data binding, where we bind source property to some target property, target property should be dependency property but source property need not be dependency property. But it appears reverse to me, reason being as follows.

       Binding means that when ever the value of source changes than target value should be updated.

    Now I ahve 2 questions
    1. If the source property is not a dependency property than how does change notification goes from source property to target property.
    2. I dont understand the need for target to be dependency property in binding?

    I think I am definitely missing something here. Can someone please clear my confusion?


    Thanks,
    shaba.