namespace VideoBrowser.Controls.CefSharpBrowser.AddIns { using VideoBrowser.Controls.CefSharpBrowser.Resources; using VideoBrowser.Controls.CefSharpBrowser.ViewModels; using VideoBrowser.Extensions; /// /// Defines the . /// public class IsSecureAddIn : AddInButton { private string _url; public IsSecureAddIn() { this.Icon = BrowserIcons.Lock; this.ToolTip = "The connection is secure"; } /// /// Gets or sets the Url. /// public string Url { get => _url; set { if (!this.Set(this.PropertyChangedHandler, ref _url, value) || string.IsNullOrEmpty(this.Url)) { return; } this.IsVisible = this.Url.Contains("https://"); } } #region Methods /// /// The Execute. /// /// The viewModel. protected override void Execute(WebBrowserTabControlViewModel viewModel) { } #endregion Methods } }