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