SpellCheck.SetSpellingReform(TextBoxBase, SpellingReform) 方法

定義

決定拼字檢查程式所使用的拼字修訂規則。

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)

參數

textBoxBase
TextBoxBase

要套用拼字檢查程式的文字編輯控制項。 範例控制項包括 TextBoxRichTextBox

value
SpellingReform

SpellingReform 值,決定拼字修訂規則。

備註

此方法存取的拼字修訂規則是指 1990 年法文和德文拼字修訂。 當此方法與任何其他語言搭配使用時,這個方法沒有任何作用。

這個方法會啟用 SpellingReform XAML 中屬性的附加屬性使用方式。

適用於