From df724e202d16eda69bf8a67c683e2b70ccaca4f7 Mon Sep 17 00:00:00 2001 From: duheng <2784771470@qq.com> Date: 星期四, 01 八月 2024 18:46:17 +0800 Subject: [PATCH] 修改属性选项设置 --- WinFrmUI/Yw.WinFrmUI.Map.Core/03-SetSimpleMarker/MapSetSimpleMarkerContainer.cs | 42 +++++++++++++++++++++++++++++++++++++++++- 1 files changed, 41 insertions(+), 1 deletions(-) diff --git a/WinFrmUI/Yw.WinFrmUI.Map.Core/03-SetSimpleMarker/MapSetSimpleMarkerContainer.cs b/WinFrmUI/Yw.WinFrmUI.Map.Core/03-SetSimpleMarker/MapSetSimpleMarkerContainer.cs index fe53da8..dcf9230 100644 --- a/WinFrmUI/Yw.WinFrmUI.Map.Core/03-SetSimpleMarker/MapSetSimpleMarkerContainer.cs +++ b/WinFrmUI/Yw.WinFrmUI.Map.Core/03-SetSimpleMarker/MapSetSimpleMarkerContainer.cs @@ -1,4 +1,6 @@ -锘縰sing Yw.Model.Map; +锘縰sing System.ComponentModel.DataAnnotations; +using System.ComponentModel; +using Yw.Model.Map; namespace Yw.WinFrmUI { @@ -88,7 +90,45 @@ + #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