How do I make spellchecker unchecked when it loads?

2 posts, 0 answers
  1. Olga
    Olga avatar
    14 posts
    Member since:
    Mar 2011

    Posted 10 May 2011 Link to this post


    I want the spell checker toggle button to be unchecked when my application loads. I tried to set it as unchecked in the properties of the toggle button, but it does not seem to work. It still loads as checked.




    telerik:RadRibbonToggleButton Name="SpellCheckToggleButton" CollapseToSmall="WhenGroupIsMedium" telerik:RadRichTextBoxRibbonUI.RichTextCommand="{Binding Path=ToggleSpellCheckingCommand}" Size="Small" SmallImage="/Telerik.Windows.Controls.RichTextBoxUI;component/Images/MSOffice/16/EnableSpellCheck.png" ToolTipService.ToolTip="Spell Check" Margin

    ="2,0,0,0" IsChecked="False" />

    I tried to also do the same thing in code instead of xaml, but it still does not work.




  2. Iva Toteva
    Iva Toteva avatar
    1319 posts

    Posted 11 May 2011 Link to this post

    Hi Olga,

    The button is bound to the ToggleSpellCheckingCommand, which updates its state to match the RichTextBox's IsSpellCheckingEnabled property.
    If you wish that spell checking be disabled on loading the RadRichTextBox, you should set the IsSpellCheckingEnabled property of RadRichTextBox to False (either in XAML or code-behind) and the button's state will be disabled automatically.
    I hope this answers your question.

    Best wishes,
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Back to Top