WPF 继承Label控件实现文字左右滚动显示完整代码以及详细使用流程(拿来就能用)

完整代码
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Timers;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using System.Windows.Navigation;
using System.Windows.Shapes;
namespace LabelTextAutoScrollShow
{
[ToolboxBitmap(typeof(Label))]
public class LabelTextAutoScrollShow : Label
{
Timer MarqueeTimer = new Timer();
String _TextSource = "滚动文字源";
String _OutText