Qinxian text-wpf behavior and qinxian text wpf Behavior
:
The Design and Implementation of this effect all come from: the superior pity details see Original: http://www.cnblogs.com/lianmin/p/5940637.html
What I did was to encapsulate the design and ideas of the original author into behaviors to facilitate the use of the wpf party.
So I want to take a look at the idea and go directly to the original text. I want to directly use or view the wpf implementation code and download it at the bottom of this article.
As I have said before about how to use behavior, I will not talk about it here. Let's talk about three attributes. It is not the same as the original article:
MaxOffset: The maximum offset. The default value is 20.
DiffOffset: Number of adjacent characters in descending order. The default value is 1.
Duration: shaking time, in milliseconds. The default value is 300.
Source code download: Piano String text activity. Zip