public FadingAutoZoomingLabelControl() { DataContext = this; InitializeComponent(); _timer.Interval = TimeSpan.FromSeconds(0.333); _timer.Tick += timer_Tick; if (!WPFUtils.GetInDesignMode()) { _timer.Start(); } _bAllowShow = true; this.Draggable(); }