TimeLine-Control-WPF
TimeLine-Control-WPF copied to clipboard
PART_TimeLine.HisVideoSources.Clear();
clear()不起作用
OnHistoryVideoSourcesChanged clear()没触发以上事件 故没刷新
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.
mode = twoway
这个东西写的很匆忙,我也没有太多精力去维护,开源出来给大家提供一个思路,可以自行扩展