33 references to InputMethodState
PresentationCore (33)
System\Windows\Input\InputMethod.cs (33)
282typeof(InputMethodState), 284new PropertyMetadata(InputMethodState.DoNotCare)); 289public static void SetPreferredImeState(DependencyObject target, InputMethodState value) 300public static InputMethodState GetPreferredImeState(DependencyObject target) 304return (InputMethodState)(target.GetValue(PreferredImeStateProperty)); 513public InputMethodState ImeState 526return compartment.BooleanValue ? InputMethodState.On 527: InputMethodState.Off; 542return fOpen ? InputMethodState.On : InputMethodState.Off; 545return InputMethodState.Off; 550Debug.Assert(value != InputMethodState.DoNotCare); 560if (compartment.BooleanValue != (value == InputMethodState.On)) 562compartment.BooleanValue = (value == InputMethodState.On); 580if (fOpen != (value == InputMethodState.On)) 582UnsafeNativeMethods.ImmSetOpenStatus(new HandleRef(this, himc), (value == InputMethodState.On)); 594public InputMethodState MicrophoneState 602return compartment.BooleanValue ? InputMethodState.On 603: InputMethodState.Off; 605return InputMethodState.Off; 611Debug.Assert(value != InputMethodState.DoNotCare); 618if (compartment.BooleanValue != (value == InputMethodState.On)) 620compartment.BooleanValue = (value == InputMethodState.On); 629public InputMethodState HandwritingState 637return compartment.BooleanValue ? InputMethodState.On 638: InputMethodState.Off; 640return InputMethodState.Off; 645Debug.Assert(value != InputMethodState.DoNotCare); 652if (compartment.BooleanValue != (value == InputMethodState.On)) 654compartment.BooleanValue = (value == InputMethodState.On); 1225if ((value != null) && ((InputMethodState)value != InputMethodState.DoNotCare)) 1227ImeState = (InputMethodState)value;