Sfoglia il codice sorgente

注释 - 更改注释容器边框颜色

chenrongqian@kdanmobile.com 1 anno fa
parent
commit
7eb2a367c2
1 ha cambiato i file con 10 aggiunte e 0 eliminazioni
  1. 10 0
      PDF Office/ViewModels/Tools/AnnotToolContentViewModel.cs

+ 10 - 0
PDF Office/ViewModels/Tools/AnnotToolContentViewModel.cs

@@ -59,6 +59,16 @@ namespace PDF_Master.ViewModels.Tools
             InitToolTipDict();
             InitPopMenu();
             SubscribeEvent();
+            AnnotContainerBorderColor();
+        }
+
+        //注释容器选中边框的颜色
+
+        private void AnnotContainerBorderColor()
+        {
+            var pen = new Pen(new SolidColorBrush(Color.FromArgb(0xFF, 0x17, 0x70, 0xF4)), 1);
+            CommonDrawData.ActiveBrush = new SolidColorBrush(Color.FromArgb(0xFF, 0x17, 0x70, 0xF4));
+            CommonDrawData.ActivePen = pen;
         }
 
         //事件聚合器