yangyin
2024-08-21 04e1d0a290ff76bf623bd9de075b350b8b77ba25
WinFrmUI/Yw.WinFrmUI.Map.Core/01-ViewMarker/MapViewMarkerContainer.cs
@@ -1,4 +1,7 @@
namespace Yw.WinFrmUI
using 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
    }
}