Changing the WPF text box's blinking cursor style to "office 2019" sty...
source link: https://www.codeproject.com/Questions/5333188/Changing-the-WPF-text-boxs-blinking-cursor-style-t
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
The blink cursor can be seen in Word 2019 and 2010:
If you look closely, you'll see that the cursor in Word 2019 progressively fades and returns.
Also when you press the Enter key, the cursor advances slowly to the next line.
Word 2010:
Click to view the link
Word 2019:
Click to view the link
How do I use this Office 2019 style in the WPF text box?
For example:
Blinking cursor opacity in Word 2010:
Something like this:
duration=0.5 KeyTime 0=100 (opacity) KeyTime 0.5=0 (opacity)
Blinking cursor opacity in Word 2019: (I want this style)
Something like this:
duration=1 KeyTime 0=100 (opacity) KeyTime 0.2=80 (opacity) KeyTime 0.4=60 (opacity) KeyTime 0.6=40 (opacity) KeyTime 0.8=20 (opacity) KeyTime 1.0=0 (opacity)
I also want to move the blinking cursor slowly to the next line by pressing the Enter key.
Please show me the codes with the output (result).
Thanks
What I have tried:
I do not have specific information to try.
Recommend
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK