public void Load(String url) { if (IsBrowserInitialized) { managedCefBrowserAdapter.LoadUrl(url); } else { Address = url; } }
public void Load(string url) { //Added null check -> binding-triggered changes of Address will lead to a nullref after Dispose has been called. if (managedCefBrowserAdapter != null) { // TODO: Consider making the delay here configurable. tooltipTimer = new DispatcherTimer( TimeSpan.FromSeconds(0.5), DispatcherPriority.Render, OnTooltipTimerTick, Dispatcher ); managedCefBrowserAdapter.LoadUrl(url); } }
public void Load(string url) { if (!Cef.IsInitialized && !Cef.Initialize()) { throw new InvalidOperationException("Cef::Initialize() failed"); } // TODO: Consider making the delay here configurable. tooltipTimer = new DispatcherTimer( TimeSpan.FromSeconds(0.5), DispatcherPriority.Render, OnTooltipTimerTick, Dispatcher ); managedCefBrowserAdapter.LoadUrl(url); }
public void Load(string url) { if (!Cef.IsInitialized && !Cef.Initialize()) { throw new InvalidOperationException("Cef::Initialize() failed"); } //Added null check -> binding-triggered changes of Address will lead to a nullref after Dispose has been called. if (managedCefBrowserAdapter != null) { // TODO: Consider making the delay here configurable. tooltipTimer = new DispatcherTimer( TimeSpan.FromSeconds(0.5), DispatcherPriority.Render, OnTooltipTimerTick, Dispatcher ); managedCefBrowserAdapter.LoadUrl(url); } }
protected virtual void OnAddressChanged(string oldValue, string newValue) { if (ignoreUriChange) { return; } if (!Cef.IsInitialized && !Cef.Initialize()) { throw new InvalidOperationException("Cef::Initialize() failed"); } // TODO: Consider making the delay here configurable. tooltipTimer = new DispatcherTimer( TimeSpan.FromSeconds(0.5), DispatcherPriority.Render, OnTooltipTimerTick, Dispatcher ); managedCefBrowserAdapter.LoadUrl(Address); }
public void Load(string url) { Address = url; managedCefBrowserAdapter.LoadUrl(Address); }
public void Load(String url) { managedCefBrowserAdapter.LoadUrl(url); }