public WatermarkTextBox() { DefaultStyleKey = typeof(WatermarkTextBox); this.TextChanged += OnTextChanged; }