InputMethod.SetPreferredImeState(DependencyObject, InputMethodState) InputMethod.SetPreferredImeState(DependencyObject, InputMethodState) InputMethod.SetPreferredImeState(DependencyObject, InputMethodState) InputMethod.SetPreferredImeState(DependencyObject, InputMethodState) Method

定義

指定した依存関係オブジェクトの PreferredImeState 添付プロパティの値を設定します。Sets the value of the PreferredImeState attached property on the specified dependency object.

public:
 static void SetPreferredImeState(System::Windows::DependencyObject ^ target, System::Windows::Input::InputMethodState value);
public static void SetPreferredImeState (System.Windows.DependencyObject target, System.Windows.Input.InputMethodState value);
static member SetPreferredImeState : System.Windows.DependencyObject * System.Windows.Input.InputMethodState -> unit
Public Shared Sub SetPreferredImeState (target As DependencyObject, value As InputMethodState)

パラメーター

target
DependencyObject DependencyObject DependencyObject DependencyObject

PreferredImeState 添付プロパティを設定する依存関係オブジェクト。The dependency object on which to set the PreferredImeState attached property.

value
InputMethodState InputMethodState InputMethodState InputMethodState

PreferredImeState 添付プロパティの新しい値を表す ImeConversionModeValues 列挙体のメンバー。A member of the ImeConversionModeValues enumeration representing the new value for the PreferredImeState attached property.

例外

targetnull の場合に発生します。Raised when target is null.

適用対象

こちらもご覧ください