/// <summary>Determines the spelling reform rules that are used by the spelling checker. </summary> /// <param name="textBoxBase">The text-editing control to which the spelling checker is applied. Example controls include <see cref="T:System.Windows.Controls.TextBox" /> and <see cref="T:System.Windows.Controls.RichTextBox" />.</param> /// <param name="value">The <see cref="P:System.Windows.Controls.SpellCheck.SpellingReform" /> value that determines the spelling reform rules.</param> // Token: 0x06005661 RID: 22113 RVA: 0x0017E8B2 File Offset: 0x0017CAB2 public static void SetSpellingReform(TextBoxBase textBoxBase, SpellingReform value) { if (textBoxBase == null) { throw new ArgumentNullException("textBoxBase"); } textBoxBase.SetValue(SpellCheck.SpellingReformProperty, value); }
internal abstract void SetReformMode(CultureInfo culture, SpellingReform spellingReform);
/// <summary> /// Sets spelling reform mode /// WinRTSpellerInterop doesn't support spelling reform /// </summary> /// <param name="culture"></param> /// <param name="spellingReform"></param> internal override void SetReformMode(CultureInfo culture, SpellingReform spellingReform) { // Do nothing - spelling reform is not supported // _spellingReformInfos[culture] = spellingReform; }
/// <summary> /// Sets the spelling reform mode for a TextBoxBase. /// </summary> public static void SetSpellingReform(TextBoxBase textBoxBase, SpellingReform value) { if (textBoxBase == null) { throw new ArgumentNullException("textBoxBase"); } textBoxBase.SetValue(SpellingReformProperty, value); }
// Sets the speller engine spelling reform option. internal void SetSpellingReform(SpellingReform spellingReform) { if (_spellingReform != spellingReform) { _spellingReform = spellingReform; // Invalidate the whole document. ResetErrors(); } }
public static void SetSpellingReform(System.Windows.Controls.Primitives.TextBoxBase textBoxBase, SpellingReform value) { }
// Forwards a spelling reform property change off to the speller. internal void SetSpellingReform(SpellingReform spellingReform) { if (_speller != null) { _speller.SetSpellingReform(spellingReform); } }
// Token: 0x06003F06 RID: 16134 RVA: 0x00002137 File Offset: 0x00000337 internal override void SetReformMode(CultureInfo culture, SpellingReform spellingReform) { }