33 references to InputMethodState
PresentationCore (33)
System\Windows\Input\InputMethod.cs (33)
283typeof(InputMethodState), 285new PropertyMetadata(InputMethodState.DoNotCare)); 290public static void SetPreferredImeState(DependencyObject target, InputMethodState value) 301public static InputMethodState GetPreferredImeState(DependencyObject target) 305return (InputMethodState)(target.GetValue(PreferredImeStateProperty)); 514public InputMethodState ImeState 527return compartment.BooleanValue ? InputMethodState.On 528: InputMethodState.Off; 543return fOpen ? InputMethodState.On : InputMethodState.Off; 546return InputMethodState.Off; 551Debug.Assert(value != InputMethodState.DoNotCare); 561if (compartment.BooleanValue != (value == InputMethodState.On)) 563compartment.BooleanValue = (value == InputMethodState.On); 581if (fOpen != (value == InputMethodState.On)) 583UnsafeNativeMethods.ImmSetOpenStatus(new HandleRef(this, himc), (value == InputMethodState.On)); 595public InputMethodState MicrophoneState 603return compartment.BooleanValue ? InputMethodState.On 604: InputMethodState.Off; 606return InputMethodState.Off; 612Debug.Assert(value != InputMethodState.DoNotCare); 619if (compartment.BooleanValue != (value == InputMethodState.On)) 621compartment.BooleanValue = (value == InputMethodState.On); 630public InputMethodState HandwritingState 638return compartment.BooleanValue ? InputMethodState.On 639: InputMethodState.Off; 641return InputMethodState.Off; 646Debug.Assert(value != InputMethodState.DoNotCare); 653if (compartment.BooleanValue != (value == InputMethodState.On)) 655compartment.BooleanValue = (value == InputMethodState.On); 1226if ((value != null) && ((InputMethodState)value != InputMethodState.DoNotCare)) 1228ImeState = (InputMethodState)value;