Disable 'add to dictionary'?

2 posts, 0 answers
  1. David
    David avatar
    1 posts
    Member since:
    Sep 2014

    Posted 19 Sep 2014 Link to this post

    Is there a way to disable the add to dictionary button from the dialog created in the WinControls RadSpellChecker?
  2. Dess
    Admin
    Dess avatar
    1607 posts

    Posted 24 Sep 2014 Link to this post

    Hello David,

    Thank you for writing.

    You can subscribe to the SpellingFormShowing event and hide or disable the "Add To Dictionary" button accessing the respective control via the Form.Controls collection:
    private void radSpellChecker1_SpellingFormShowing(object sender, SpellingFormShowingEventArgs e)
    {
        //e.SpellingForm.Controls["buttonAddToDictionary"].Visible = false;
        e.SpellingForm.Controls["buttonAddToDictionary"].Enabled = false;
    }

    I hope this information helps. Should you have further questions, I would be glad to help.

    Regards,
    Desislava
    Telerik
     
    Check out Telerik Analytics, the service which allows developers to discover app usage patterns, analyze user data, log exceptions, solve problems and profile application performance at run time. Watch the videos and start improving your app based on facts, not hunches.
     
  3. UI for WinForms is Visual Studio 2017 Ready
Back to Top