33 references to InputMethodState
PresentationCore (33)
System\Windows\Input\InputMethod.cs (33)
283
typeof(
InputMethodState
),
285
new PropertyMetadata(
InputMethodState
.DoNotCare));
290
public static void SetPreferredImeState(DependencyObject target,
InputMethodState
value)
301
public static
InputMethodState
GetPreferredImeState(DependencyObject target)
305
return (
InputMethodState
)(target.GetValue(PreferredImeStateProperty));
514
public
InputMethodState
ImeState
527
return compartment.BooleanValue ?
InputMethodState
.On
528
:
InputMethodState
.Off;
543
return fOpen ?
InputMethodState
.On :
InputMethodState
.Off;
546
return
InputMethodState
.Off;
551
Debug.Assert(value !=
InputMethodState
.DoNotCare);
561
if (compartment.BooleanValue != (value ==
InputMethodState
.On))
563
compartment.BooleanValue = (value ==
InputMethodState
.On);
581
if (fOpen != (value ==
InputMethodState
.On))
583
UnsafeNativeMethods.ImmSetOpenStatus(new HandleRef(this, himc), (value ==
InputMethodState
.On));
595
public
InputMethodState
MicrophoneState
603
return compartment.BooleanValue ?
InputMethodState
.On
604
:
InputMethodState
.Off;
606
return
InputMethodState
.Off;
612
Debug.Assert(value !=
InputMethodState
.DoNotCare);
619
if (compartment.BooleanValue != (value ==
InputMethodState
.On))
621
compartment.BooleanValue = (value ==
InputMethodState
.On);
630
public
InputMethodState
HandwritingState
638
return compartment.BooleanValue ?
InputMethodState
.On
639
:
InputMethodState
.Off;
641
return
InputMethodState
.Off;
646
Debug.Assert(value !=
InputMethodState
.DoNotCare);
653
if (compartment.BooleanValue != (value ==
InputMethodState
.On))
655
compartment.BooleanValue = (value ==
InputMethodState
.On);
1226
if ((value != null) && ((
InputMethodState
)value !=
InputMethodState
.DoNotCare))
1228
ImeState = (
InputMethodState
)value;