1234567891011121314151617181920212223242526272829303132 |
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Text;
- using System.Threading.Tasks;
- using System.Windows.Controls;
- using System.Windows.Media;
- using System.Windows;
- namespace Venus_Themes.CustomControls
- {
- public class TextBoxWithMark : TextBox
- {
- public static readonly DependencyProperty WaterMarksProperty = DependencyProperty.Register(
- "WaterMarks", typeof(string), typeof(TextBoxWithMark), new PropertyMetadata(default(string)));
- public string WaterMarks
- {
- get
- {
- return (string)GetValue(WaterMarksProperty);
- }
- set
- {
- SetValue(WaterMarksProperty, value);
- }
- }
- }
- }
|