11 references to MSHTMLHostUtil
System.Web.Mobile (11)
UI\MobileControls\Design\Adapters\DesignerCommandAdapter.cs (3)
82MSHTMLHostUtil.ApplyStyle(String.Empty, String.Empty, null); 83requiredWidth = MSHTMLHostUtil.GetHtmlFragmentWidth(htmlFragment); 103tmpRequiredWidth = MSHTMLHostUtil.GetHtmlFragmentWidth(String.Format(CultureInfo.CurrentCulture, htmlFragment, HttpUtility.HtmlEncode(controlText.Substring(0, allowedLength))));
UI\MobileControls\Design\Adapters\DesignerTextBoxAdapter.cs (3)
100MSHTMLHostUtil.ApplyStyle(enterLayout, exitLayout, null); 104requiredWidth = MSHTMLHostUtil.GetHtmlFragmentWidth(size > 0 ? String.Format(CultureInfo.InvariantCulture, htmlFragment, size) : htmlFragment); 122requiredWidth = MSHTMLHostUtil.GetHtmlFragmentWidth(String.Format(CultureInfo.InvariantCulture, htmlFragment, fittingSize));
UI\MobileControls\Design\Adapters\DesignerTextViewAdapter.cs (4)
68MSHTMLHostUtil.ApplyStyle(null, null, null); 70int uniqueLineHeight = MSHTMLHostUtil.GetHtmlFragmentHeight("a"); 71int requiredHeight = MSHTMLHostUtil.GetHtmlFragmentHeight(filteredText); 72int requiredWidth = MSHTMLHostUtil.GetHtmlFragmentWidth(filteredText);
UI\MobileControls\Design\Adapters\MSHTMLHostUtil.cs (1)
49MSHTMLHostUtil.CreateControl();