Hello,
I am looking to use the UltraWinSpellChecker in my application.
My question is simple: How do I customize the the spellchecker dialog box? I want to prevent users from adding words to the user dictionary file, but at the same time make sure that the component uses the Custom Dictionary file specified?
I am using WinForms v14.1
Thanks!
I am just checking about the progress of this issue. Let me know if you need my further assistance on this issue.
Thank you for using Infragistics Components.
Hi,
Thank you for posting to our forums.
What you could do in your case is to handle the SpellCheckDialogOpening and in it to find the “Add To Dicitionary” button on the spell checker form and then hide it. You can do that by using the following code inside the event handler:
var groupBox = e.SpellCheckDialog.Controls[0] as Infragistics.Win.Misc.UltraGroupBox ;
if (groupBox == null)
return;
var button = groupBox.Controls.OfType<UltraButton>().FirstOrDefault(b => b.Text == "Add To Dictionary");
if (button != null)
{
button.Visible = false;
}
Let me know if you have any additional questions.
http://es.infragistics.com/community/forums/t/59361.aspx