Files
29WxOrder/29WxOrderWpf/UserControls/UcWaterMarkTextBox.cs
T

26 lines
676 B
C#

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
namespace _29WxOrderWpf.UserControls
{
public class UcWaterMarkTextBox : TextBox
{
public UcWaterMarkTextBox()
{
}
public static readonly DependencyProperty WaterMarkProperty = DependencyProperty.Register(
"WaterMark", typeof(string), typeof(UcWaterMarkTextBox), null);
public string WaterMark
{
get { return (string)GetValue(WaterMarkProperty); }
set { SetValue(WaterMarkProperty, value); }
}
}
}