33 references to InputMethodState
PresentationCore (33)
System\Windows\Input\InputMethod.cs (33)
297typeof(InputMethodState), 299new PropertyMetadata(InputMethodState.DoNotCare)); 304public static void SetPreferredImeState(DependencyObject target, InputMethodState value) 315public static InputMethodState GetPreferredImeState(DependencyObject target) 319return (InputMethodState)(target.GetValue(PreferredImeStateProperty)); 528public InputMethodState ImeState 541return compartment.BooleanValue ? InputMethodState.On 542: InputMethodState.Off; 557return fOpen ? InputMethodState.On : InputMethodState.Off; 560return InputMethodState.Off; 565Debug.Assert(value != InputMethodState.DoNotCare); 575if (compartment.BooleanValue != (value == InputMethodState.On)) 577compartment.BooleanValue = (value == InputMethodState.On); 595if (fOpen != (value == InputMethodState.On)) 597UnsafeNativeMethods.ImmSetOpenStatus(new HandleRef(this, himc), (value == InputMethodState.On)); 609public InputMethodState MicrophoneState 617return compartment.BooleanValue ? InputMethodState.On 618: InputMethodState.Off; 620return InputMethodState.Off; 626Debug.Assert(value != InputMethodState.DoNotCare); 633if (compartment.BooleanValue != (value == InputMethodState.On)) 635compartment.BooleanValue = (value == InputMethodState.On); 644public InputMethodState HandwritingState 652return compartment.BooleanValue ? InputMethodState.On 653: InputMethodState.Off; 655return InputMethodState.Off; 660Debug.Assert(value != InputMethodState.DoNotCare); 667if (compartment.BooleanValue != (value == InputMethodState.On)) 669compartment.BooleanValue = (value == InputMethodState.On); 1240if ((value != null) && ((InputMethodState)value != InputMethodState.DoNotCare)) 1242ImeState = (InputMethodState)value;