SpellCheck.SpellingReform 屬性

定義

取得或設定拼字檢查程式所使用的拼字修訂規則。

public:
 property System::Windows::Controls::SpellingReform SpellingReform { System::Windows::Controls::SpellingReform get(); void set(System::Windows::Controls::SpellingReform value); };
public System.Windows.Controls.SpellingReform SpellingReform { get; set; }
member this.SpellingReform : System.Windows.Controls.SpellingReform with get, set
Public Property SpellingReform As SpellingReform

屬性值

拼字檢查程式所使用的拼字修訂規則。 法文的預設值為 PreAndPostreform,德文的預設值為 Postreform

備註

此屬性所決定的拼字修訂規則是指法文和德文拼字修訂。 當此屬性與任何其他語言搭配使用時,這個屬性沒有任何作用。

此相依性屬性也有特製化的僅限寫入附加屬性使用方式。 設定屬性的 XAML 語法是 <textBoxBaseClassSpellCheck.SpellingReform="enumValue" .../> ,其中textBoxBaseClass是衍生自 TextBoxBase 之類別的物件元素,而enumValue是列舉值的 SpellingReform 字串名稱。 若要在程式碼中將 屬性設定為附加屬性,請參閱 SetSpellingReform 方法。 沒有相符 GetSpellingReform 的存取子。 若要取得值,請從 TextBoxBase.SpellCheck 屬性取得目前的 SpellCheck 物件,然後從該 SpellCheck 取得 屬性的值 SpellingReform

相依性屬性資訊

識別碼欄位 SpellingReformProperty
中繼資料屬性設定為 true

適用於