SearchBox.cs 778 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. using System.Windows;
  2. using System.Windows.Controls;
  3. namespace CustomUI
  4. {
  5. /// <summary>
  6. /// 搜索框
  7. /// </summary>
  8. public class SearchBox : TextBox
  9. {
  10. #region private fields
  11. #endregion
  12. #region DependencyProperty
  13. #endregion
  14. #region Constructors
  15. static SearchBox()
  16. {
  17. DefaultStyleKeyProperty.OverrideMetadata(typeof(SearchBox), new FrameworkPropertyMetadata(typeof(SearchBox)));
  18. }
  19. #endregion
  20. #region Override
  21. public override void OnApplyTemplate()
  22. {
  23. base.OnApplyTemplate();
  24. }
  25. #endregion
  26. #region private function
  27. #endregion
  28. #region Event Implement Function
  29. #endregion
  30. }
  31. }