Bearbeiten

Freigeben über


SpellCheck.SetSpellingReform(TextBoxBase, SpellingReform) Method

Definition

Determines the spelling reform rules that are used by the spelling checker.

public:
 static void SetSpellingReform(System::Windows::Controls::Primitives::TextBoxBase ^ textBoxBase, System::Windows::Controls::SpellingReform value);
public static void SetSpellingReform (System.Windows.Controls.Primitives.TextBoxBase textBoxBase, System.Windows.Controls.SpellingReform value);
static member SetSpellingReform : System.Windows.Controls.Primitives.TextBoxBase * System.Windows.Controls.SpellingReform -> unit
Public Shared Sub SetSpellingReform (textBoxBase As TextBoxBase, value As SpellingReform)

Parameters

textBoxBase
TextBoxBase

The text-editing control to which the spelling checker is applied. Example controls include TextBox and RichTextBox.

value
SpellingReform

The SpellingReform value that determines the spelling reform rules.

Remarks

The spelling reform rules that are accessed by this method refer to the French and German spelling reforms of the 1990's. This method has no effect when it is used with any other language.

This method enables an attached property usage for the SpellingReform property in XAML.

Applies to