public ShowStylesDialog ( string paraStyleName, string charStyleName, Action |
||
paraStyleName | string | Name of the initially selected paragraph style. |
charStyleName | string | Name of the initially selected character style. |
setPropsToFactorySettings | Action |
Delegate to set style info properties back /// to the default facotry settings |
Результат | bool |
public bool ShowStylesDialog(string paraStyleName, string charStyleName,
Action<StyleInfo> setPropsToFactorySettings)
{
CheckDisposed();
if (m_delegate.ShowStylesDialog(paraStyleName, charStyleName, setPropsToFactorySettings))
{
// Need to refresh to reload the cache. See LT-6265.
(m_app as FwXApp).OnMasterRefresh(null);
}
return false; // refresh already called if needed
}