5 references to GetHtmlFragmentWidth
System.Web.Mobile (5)
UI\MobileControls\Design\Adapters\DesignerCommandAdapter.cs (2)
83requiredWidth = MSHTMLHostUtil.GetHtmlFragmentWidth(htmlFragment); 103tmpRequiredWidth = MSHTMLHostUtil.GetHtmlFragmentWidth(String.Format(CultureInfo.CurrentCulture, htmlFragment, HttpUtility.HtmlEncode(controlText.Substring(0, allowedLength))));
UI\MobileControls\Design\Adapters\DesignerTextBoxAdapter.cs (2)
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 (1)
72int requiredWidth = MSHTMLHostUtil.GetHtmlFragmentWidth(filteredText);