Share via


SpellCheck.SetSpellingReform(TextBoxBase, SpellingReform) Méthode

Définition

Détermine les règles de réforme orthographique utilisées par le vérificateur d'orthographe.

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)

Paramètres

textBoxBase
TextBoxBase

Contrôle d'édition de texte auquel est appliqué le vérificateur d'orthographe. Il peut s’agir notamment des contrôles TextBox et RichTextBox.

value
SpellingReform

Valeur SpellingReform qui détermine les règles de réforme orthographique.

Remarques

Les règles de réforme orthographique accessibles par cette méthode font référence aux Français et aux réformes orthographiques allemandes des années 1990. Cette méthode n’a aucun effet lorsqu’elle est utilisée avec n’importe quelle autre langue.

Cette méthode active une utilisation de propriété jointe pour la SpellingReform propriété en XAML.

S’applique à