TimeLine-Control-WPF icon indicating copy to clipboard operation
TimeLine-Control-WPF copied to clipboard

PART_TimeLine.HisVideoSources.Clear();

Open batsword opened this issue 5 years ago • 4 comments

clear()不起作用

batsword avatar May 13 '20 03:05 batsword

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

batsword avatar May 13 '20 03:05 batsword

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 avatar May 15 '20 06:05 batsword

mode = twoway

batsword avatar May 15 '20 06:05 batsword

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

lingme avatar Aug 11 '21 03:08 lingme