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