11 references to MSHTMLHostUtil
System.Web.Mobile (11)
UI\MobileControls\Design\Adapters\DesignerCommandAdapter.cs (3)
82
MSHTMLHostUtil
.ApplyStyle(String.Empty, String.Empty, null);
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 (3)
100
MSHTMLHostUtil
.ApplyStyle(enterLayout, exitLayout, null);
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 (4)
68
MSHTMLHostUtil
.ApplyStyle(null, null, null);
70
int uniqueLineHeight =
MSHTMLHostUtil
.GetHtmlFragmentHeight("a");
71
int requiredHeight =
MSHTMLHostUtil
.GetHtmlFragmentHeight(filteredText);
72
int requiredWidth =
MSHTMLHostUtil
.GetHtmlFragmentWidth(filteredText);
UI\MobileControls\Design\Adapters\MSHTMLHostUtil.cs (1)
49
MSHTMLHostUtil
.CreateControl();