5 references to GetHtmlFragmentWidth
System.Web.Mobile (5)
UI\MobileControls\Design\Adapters\DesignerCommandAdapter.cs (2)
83
requiredWidth = MSHTMLHostUtil.
GetHtmlFragmentWidth
(htmlFragment);
103
tmpRequiredWidth = MSHTMLHostUtil.
GetHtmlFragmentWidth
(String.Format(CultureInfo.CurrentCulture, htmlFragment, HttpUtility.HtmlEncode(controlText.Substring(0, allowedLength))));
UI\MobileControls\Design\Adapters\DesignerTextBoxAdapter.cs (2)
104
requiredWidth = MSHTMLHostUtil.
GetHtmlFragmentWidth
(size > 0 ? String.Format(CultureInfo.InvariantCulture, htmlFragment, size) : htmlFragment);
122
requiredWidth = MSHTMLHostUtil.
GetHtmlFragmentWidth
(String.Format(CultureInfo.InvariantCulture, htmlFragment, fittingSize));
UI\MobileControls\Design\Adapters\DesignerTextViewAdapter.cs (1)
72
int requiredWidth = MSHTMLHostUtil.
GetHtmlFragmentWidth
(filteredText);