33 references to InputMethodState
PresentationCore (33)
Core\CSharp\System\Windows\Input\InputMethod.cs (33)
316typeof(InputMethodState), 318new PropertyMetadata(InputMethodState.DoNotCare)); 323public static void SetPreferredImeState(DependencyObject target, InputMethodState value) 337public static InputMethodState GetPreferredImeState(DependencyObject target) 344return (InputMethodState)(target.GetValue(PreferredImeStateProperty)); 575public InputMethodState ImeState 589return compartment.BooleanValue ? InputMethodState.On 590: InputMethodState.Off; 605return fOpen ? InputMethodState.On : InputMethodState.Off; 608return InputMethodState.Off; 614Debug.Assert(value != InputMethodState.DoNotCare); 624if (compartment.BooleanValue != (value == InputMethodState.On)) 626compartment.BooleanValue = (value == InputMethodState.On); 644if (fOpen != (value == InputMethodState.On)) 646UnsafeNativeMethods.ImmSetOpenStatus(new HandleRef(this, himc), (value == InputMethodState.On)); 667public InputMethodState MicrophoneState 676return compartment.BooleanValue ? InputMethodState.On 677: InputMethodState.Off; 679return InputMethodState.Off; 687Debug.Assert(value != InputMethodState.DoNotCare); 694if (compartment.BooleanValue != (value == InputMethodState.On)) 696compartment.BooleanValue = (value == InputMethodState.On); 709public InputMethodState HandwritingState 718return compartment.BooleanValue ? InputMethodState.On 719: InputMethodState.Off; 721return InputMethodState.Off; 727Debug.Assert(value != InputMethodState.DoNotCare); 734if (compartment.BooleanValue != (value == InputMethodState.On)) 736compartment.BooleanValue = (value == InputMethodState.On); 1338if ((value != null) && ((InputMethodState)value != InputMethodState.DoNotCare)) 1340ImeState = (InputMethodState)value;