namespace VideoBrowser.Models { using System.Windows; using VideoBrowser.Controls.CefSharpBrowser; using VideoBrowser.Resources; using VideoBrowser.ViewModels; using VideoBrowser.Views; /// /// Defines the . /// internal class AboutButton : CreateTabAddInButton { #region Constructors /// /// Initializes a new instance of the class. /// internal AboutButton() : base("About", Icons.Info) { this.ToolTip = "Information about Cekli Browser"; } #endregion Constructors #region Properties /// /// Gets the AboutViewModel. /// public AboutViewModel AboutViewModel { get; } = new AboutViewModel(); #endregion Properties #region Methods /// /// The CreateView. /// This method is already in UI Thread. /// /// The . protected override UIElement CreateView() { var aboutView = new AboutView { DataContext = this.AboutViewModel }; return aboutView; } #endregion Methods } }