Exemple #1
0
 public void Update(TabPageInfoExpansion tabPageInfoExpansion)
 {
     IsBackwardEnabled  = tabPageInfoExpansion.IsBackwardEnabled;
     IsForwardEnabled   = tabPageInfoExpansion.IsForwardEnabled;
     IsRefreshEnabled   = tabPageInfoExpansion.IsRefreshEnabled;
     InteliSenseBoxText = tabPageInfoExpansion.Url;
 }
Exemple #2
0
        public TabPageInfoExpansion ReturnExpansionInfo()
        {
            TabPageInfoExpansion tabPageInfoExpansion = new TabPageInfoExpansion();

            tabPageInfoExpansion.Url = WebView.Source.ToString();
            tabPageInfoExpansion.IsBackwardEnabled = WebView.CanGoBack ? true : false;
            tabPageInfoExpansion.IsForwardEnabled  = WebView.CanGoForward ? true : false;
            tabPageInfoExpansion.IsRefreshEnabled  = true;
            return(tabPageInfoExpansion);
        }