private void spellChecker1_OptionsFormShowing(object sender, DevExpress.XtraSpellChecker.FormShowingEventArgs e)
        {
            var optionsForm = spellChecker1.FormsManager.OptionsForm;

            // You can hide the 'Add' button
            spellChecker1.FormsManager.SpellCheckForm.Controls["btnAdd"].Visible = false;

            // Or suppress the entire panel
            GroupControl grpEditCustomDic = optionsForm.Controls.Find("grpEditCustomDic", true)[0] as GroupControl;

            grpEditCustomDic.Visible = false;
            optionsForm.Controls.Find("grpInternationDocs", true)[0].Top  = grpEditCustomDic.Top;
            optionsForm.Controls.Find("xtraTabControl1", true)[0].Height -= grpEditCustomDic.Height;
            optionsForm.Height -= grpEditCustomDic.Height;
        }
Exemplo n.º 2
0
 void Checker_CheckCompleteFormShowing(object sender, DevExpress.XtraSpellChecker.FormShowingEventArgs e)
 {
     e.Handled = true;
 }