SpellCheck.SetIsEnabled(TextBoxBase, Boolean) メソッド

定義

TextBoxRichTextBox などの指定されたテキスト編集コントロールで、スペル チェックを有効または無効にします。

public:
 static void SetIsEnabled(System::Windows::Controls::Primitives::TextBoxBase ^ textBoxBase, bool value);
public static void SetIsEnabled (System.Windows.Controls.Primitives.TextBoxBase textBoxBase, bool value);
static member SetIsEnabled : System.Windows.Controls.Primitives.TextBoxBase * bool -> unit
Public Shared Sub SetIsEnabled (textBoxBase As TextBoxBase, value As Boolean)

パラメーター

textBoxBase
TextBoxBase

スペル チェックを有効または無効にするテキスト編集コントロール。 このコントロールの例として、TextBoxRichTextBox などが挙げられます。

value
Boolean

テキスト編集コントロールでスペル チェックを有効にするかどうかを指定するブール値。

注釈

このメソッドを使用すると、XAML のプロパティに添付プロパティを IsEnabled 使用できます。 次の例は、XAML の使用方法を示しています。

適用対象