WPF Textbox漂亮的文本控件框封装
XAML代码:
cs代码:
private string text_tip = "";
///
/// 设置文本框中默认提示语
///
public string Text_tip
{
get { return text_tip; }
set
{
text_tip = value;
MyText.Tag = value;
}
}
使用方式:
原文:https://www.cnblogs.com/pang572936554/p/13600798.html