Bagikan melalui


SpellCheck.SetSpellingReform(TextBoxBase, SpellingReform) Metode

Definisi

Menentukan aturan reformasi ejaan yang digunakan oleh pemeriksa ejaan.

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)

Parameter

textBoxBase
TextBoxBase

Kontrol pengeditan teks tempat pemeriksa ejaan diterapkan. Contoh kontrol meliputi TextBox dan RichTextBox.

value
SpellingReform

Nilai SpellingReform yang menentukan aturan reformasi ejaan.

Keterangan

Aturan reformasi ejaan yang diakses oleh metode ini mengacu pada reformasi ejaan Prancis dan Jerman tahun 1990-an. Metode ini tidak berpengaruh ketika digunakan dengan bahasa lain.

Metode ini memungkinkan penggunaan properti terlampir untuk SpellingReform properti di XAML.

Berlaku untuk