From ded0ea786b19afa0accbbeb3cbe98e2156c05c35 Mon Sep 17 00:00:00 2001
From: lixiaojun <1287241240@qq.com>
Date: 星期五, 26 七月 2024 09:32:38 +0800
Subject: [PATCH] 增加基础控件边框属性

---
 WinFrmUI/Yw.WinFrmUI.Map.Core/01-ViewMarker/MapViewMarkerContainer.cs |   45 ++++++++++++++++++++++++++++++++++++++++++++-
 1 files changed, 44 insertions(+), 1 deletions(-)

diff --git a/WinFrmUI/Yw.WinFrmUI.Map.Core/01-ViewMarker/MapViewMarkerContainer.cs b/WinFrmUI/Yw.WinFrmUI.Map.Core/01-ViewMarker/MapViewMarkerContainer.cs
index c41266f..9b30793 100644
--- a/WinFrmUI/Yw.WinFrmUI.Map.Core/01-ViewMarker/MapViewMarkerContainer.cs
+++ b/WinFrmUI/Yw.WinFrmUI.Map.Core/01-ViewMarker/MapViewMarkerContainer.cs
@@ -1,4 +1,7 @@
-锘縩amespace Yw.WinFrmUI
+锘縰sing System.ComponentModel;
+using System.ComponentModel.DataAnnotations;
+
+namespace Yw.WinFrmUI
 {
     public partial class MapViewMarkerContainer : UserControl, IMapViewMarkerContainer
     {
@@ -79,6 +82,46 @@
             return await this.webViewControl1.EvaluateScriptAsync<bool>("loadMarker", marker);
         }
 
+        #region 杈规
+
+        /// <summary>
+        /// 鏄剧ず杈规
+        /// </summary>
+        [Display(Name = "鏄剧ず杈规")]
+        [DisplayName("鏄剧ず杈规")]
+        [Browsable(true)]
+        public bool ShowBorder
+        {
+            get { return this.webViewControl1.ShowBorder; }
+            set { this.webViewControl1.ShowBorder = value; }
+        }
+
+        /// <summary>
+        /// 杈规棰滆壊
+        /// </summary>
+        [Display(Name = "杈规棰滆壊")]
+        [DisplayName("杈规棰滆壊")]
+        [Browsable(true)]
+        public Color BorderColor
+        {
+            get { return this.webViewControl1.BorderColor; }
+            set { this.webViewControl1.BorderColor = value; }
+        }
+
+        /// <summary>
+        /// 杈规瀹藉害
+        /// </summary>
+        [Display(Name = "杈规瀹藉害")]
+        [DisplayName("杈规瀹藉害")]
+        [Browsable(true)]
+        public int BorderWidth
+        {
+            get { return this.webViewControl1.BorderWidth; }
+            set { this.webViewControl1.BorderWidth = value; }
+        }
+
+        #endregion
+
 
     }
 }

--
Gitblit v1.9.3