public void ApplyStyle(string sStyle)
{
CheckDisposed();
m_innerFwTextBox.EditingHelper.ApplyStyle(sStyle);
if (m_innerFwTextBox.Tss.Length == 0)
{
// Need to also set the properties on the string. This allows searching for
// styles only.
ITsStrBldr bldr = m_innerFwTextBox.Tss.GetBldr();
bldr.SetStrPropValue(0, 0, (int)FwTextPropType.ktptNamedStyle, sStyle);
m_innerFwTextBox.Tss = bldr.GetString();
}
m_innerFwTextBox.RefreshDisplay();
}