摘要:
View Code xaml public class WaterMarkTextBox:TextBox { public string Watermark { get { return (string)GetValue(WatermarkProperty); } set { SetValue(WatermarkProperty, value); } } // Using a DependencyProperty as the backing store fo... 阅读全文