Data binding to a UserControl in WPF

后端 未结 4 2030
庸人自扰
庸人自扰 2021-02-05 20:10

I have a UserControl that I want to participate in data binding. I\'ve set up the dependency properties in the user control, but can\'t get it work.

The uc displays the

4条回答
  •  不知归路
    2021-02-05 20:56

    I know this is an old topic but still.

    Also mention the PropertyChangedCallback on the UIPropertyMetadata during registering your DP

提交回复
热议问题