FreehandAnnotProperty.xaml.cs 1.1 KB

123456789101112131415161718192021222324252627282930313233343536
  1. using PDF_Master.ViewModels.PropertyPanel.AnnotPanel;
  2. using System;
  3. using System.Collections.Generic;
  4. using System.Linq;
  5. using System.Text;
  6. using System.Threading.Tasks;
  7. using System.Windows;
  8. using System.Windows.Controls;
  9. using System.Windows.Data;
  10. using System.Windows.Documents;
  11. using System.Windows.Input;
  12. using System.Windows.Media;
  13. using System.Windows.Media.Imaging;
  14. using System.Windows.Navigation;
  15. using System.Windows.Shapes;
  16. namespace PDF_Master.Views.PropertyPanel.AnnotPanel
  17. {
  18. /// <summary>
  19. /// FreehandAnnotProperty.xaml 的交互逻辑
  20. /// </summary>
  21. public partial class FreehandAnnotProperty : UserControl
  22. {
  23. private FreehandAnnotPropertyViewModel ViewModel => DataContext as FreehandAnnotPropertyViewModel;
  24. public FreehandAnnotProperty()
  25. {
  26. InitializeComponent();
  27. }
  28. private void UserControl_Loaded(object sender, RoutedEventArgs e)
  29. {
  30. if (ViewModel != null)
  31. ViewModel.BasicVm.CurrentFontColor = App.Current.FindResource("color.sys.layout.divider.pen") as Brush;
  32. }
  33. }
  34. }