Edit

Share via


SpellCheck.SpellingReform Property

Definition

Gets or sets the spelling reform rules that are used by the spelling checker.

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

Property Value

The spelling reform rules that are used by the spelling checker. The default value is PreAndPostreform for French and Postreform for German.

Remarks

The spelling reform rules that are determined by this property refer to the French and German spelling reforms. This property has no effect when it is used with any other language.

This dependency property also has a specialized write-only attached property usage. The XAML syntax for setting the property is <textBoxBaseClass SpellCheck.SpellingReform="enumValue" .../>, where textBoxBaseClass is an object element for a class that derives from TextBoxBase, and enumValue is a string name for a value of the SpellingReform enumeration. To set the property as an attached property in code, see the SetSpellingReform method. There is no matching GetSpellingReform accessor. To get the value, get the current SpellCheck object from the TextBoxBase.SpellCheck property, and then get the value of the SpellingReform property from that SpellCheck.

Dependency Property Information

Item Value
Identifier field SpellingReformProperty
Metadata properties set to true None

Applies to