private void LoadContent()
{
const string script = @"window.onclick = hrefEvent;
function hrefEvent(e)
{
e = e || window.event;
var t = e.target || e.srcElement
while( t.nodeName != 'A' && t.parentNode != null)
t = t.parentNode;
if ( t.href )
window.external.notify(t.href);
return false;
}";
var bodyAttributes = new StringBuilder();
// Font-Family:
if (!string.IsNullOrEmpty(HtmlFontFamily))
bodyAttributes.AppendFormat(" font-family:'{0}'; ", HtmlFontFamily);
// Font-Size;
if (!string.IsNullOrEmpty(HtmlFontSize))
bodyAttributes.AppendFormat(" font-size:{0}; ", HtmlFontSize);
var content = string.Format("<!DOCTYPE html><html><style>h2{{font-family:'segoe ui light';font-weight:bold;font-size:15pt;}}</style><body style=\"{2}\"><script>{0}</script>{1}</body></html>", script, Html, bodyAttributes);
_allowDefaultNavigation = true;
WebView.NavigateToString(content);
_allowDefaultNavigation = false;
}