Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PART_TimeLine.HisVideoSources.Clear(); #2

Open
batsword opened this issue May 13, 2020 · 4 comments
Open

PART_TimeLine.HisVideoSources.Clear(); #2

batsword opened this issue May 13, 2020 · 4 comments

Comments

@batsword
Copy link

clear()不起作用

@batsword
Copy link
Author

OnHistoryVideoSourcesChanged
clear()没触发以上事件 故没刷新

@batsword
Copy link
Author

The dependency property mechanism doesn't have much else it can do when it gets asked to store a local value on a dependency property. It can't send the value through the binding because the binding 'points' the wrong way. After being set to the local value, it's no longer showing the value it got from the binding. Since it's not showing the value from the binding any more, it removes the binding.

@batsword
Copy link
Author

mode = twoway

@lingme
Copy link
Owner

lingme commented Aug 11, 2021

这个东西写的很匆忙,我也没有太多精力去维护,开源出来给大家提供一个思路,可以自行扩展

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants