43 references to ImeSentenceModeValues
PresentationCore (43)
Core\CSharp\System\Windows\Input\InputMethod.cs (43)
394
typeof(
ImeSentenceModeValues
),
396
new PropertyMetadata(
ImeSentenceModeValues
.DoNotCare));
401
public static void SetPreferredImeSentenceMode(DependencyObject target,
ImeSentenceModeValues
value)
415
public static
ImeSentenceModeValues
GetPreferredImeSentenceMode(DependencyObject target)
422
return (
ImeSentenceModeValues
)(target.GetValue(PreferredImeSentenceModeProperty));
1090
public
ImeSentenceModeValues
ImeSentenceMode
1106
ImeSentenceModeValues
ret = 0;
1110
return
ImeSentenceModeValues
.None;
1113
ret |=
ImeSentenceModeValues
.PluralClause;
1115
ret |=
ImeSentenceModeValues
.SingleConversion;
1117
ret |=
ImeSentenceModeValues
.Automatic;
1119
ret |=
ImeSentenceModeValues
.PhrasePrediction;
1121
ret |=
ImeSentenceModeValues
.Conversation;
1134
ImeSentenceModeValues
ret = 0;
1144
return
ImeSentenceModeValues
.None;
1147
ret |=
ImeSentenceModeValues
.PluralClause;
1149
ret |=
ImeSentenceModeValues
.SingleConversion;
1151
ret |=
ImeSentenceModeValues
.Automatic;
1153
ret |=
ImeSentenceModeValues
.PhrasePrediction;
1155
ret |=
ImeSentenceModeValues
.Conversation;
1160
return
ImeSentenceModeValues
.None;
1171
Debug.Assert((value &
ImeSentenceModeValues
.DoNotCare) == 0);
1183
if ((value &
ImeSentenceModeValues
.PluralClause) != 0)
1185
if ((value &
ImeSentenceModeValues
.SingleConversion) != 0)
1187
if ((value &
ImeSentenceModeValues
.Automatic) != 0)
1189
if ((value &
ImeSentenceModeValues
.PhrasePrediction) != 0)
1191
if ((value &
ImeSentenceModeValues
.Conversation) != 0)
1215
if ((value &
ImeSentenceModeValues
.PluralClause) != 0)
1217
if ((value &
ImeSentenceModeValues
.SingleConversion) != 0)
1219
if ((value &
ImeSentenceModeValues
.Automatic) != 0)
1221
if ((value &
ImeSentenceModeValues
.PhrasePrediction) != 0)
1223
if ((value &
ImeSentenceModeValues
.Conversation) != 0)
1350
if ((value != null) && (((
ImeSentenceModeValues
)value &
ImeSentenceModeValues
.DoNotCare) == 0))
1352
ImeSentenceMode = (
ImeSentenceModeValues
)value;
1877
private bool IsValidSentenceMode(
ImeSentenceModeValues
mode)
1879
int mask = (int)(
ImeSentenceModeValues
.None |
1880
ImeSentenceModeValues
.PluralClause |
1881
ImeSentenceModeValues
.SingleConversion |
1882
ImeSentenceModeValues
.Automatic |
1883
ImeSentenceModeValues
.PhrasePrediction |
1884
ImeSentenceModeValues
.Conversation |
1885
ImeSentenceModeValues
.DoNotCare);