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/02-SetMarker/MapSetMarkerContainer.cs | 42 +++++++++++++++++++++++++++++++++++++++++- 1 files changed, 41 insertions(+), 1 deletions(-) diff --git a/WinFrmUI/Yw.WinFrmUI.Map.Core/02-SetMarker/MapSetMarkerContainer.cs b/WinFrmUI/Yw.WinFrmUI.Map.Core/02-SetMarker/MapSetMarkerContainer.cs index decfc7b..8ee0894 100644 --- a/WinFrmUI/Yw.WinFrmUI.Map.Core/02-SetMarker/MapSetMarkerContainer.cs +++ b/WinFrmUI/Yw.WinFrmUI.Map.Core/02-SetMarker/MapSetMarkerContainer.cs @@ -1,4 +1,6 @@ -锘縰sing Yw.Model.Map; +锘縰sing System.ComponentModel.DataAnnotations; +using System.ComponentModel; +using Yw.Model.Map; namespace Yw.WinFrmUI { @@ -138,7 +140,45 @@ await this.webViewControl1.EvaluateScriptAsync("setInfoPanelVisibility()"); } + #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