43 references to ImeSentenceModeValues
PresentationCore (43)
System\Windows\Input\InputMethod.cs (43)
363typeof(ImeSentenceModeValues), 365new PropertyMetadata(ImeSentenceModeValues.DoNotCare)); 370public static void SetPreferredImeSentenceMode(DependencyObject target, ImeSentenceModeValues value) 381public static ImeSentenceModeValues GetPreferredImeSentenceMode(DependencyObject target) 385return (ImeSentenceModeValues)(target.GetValue(PreferredImeSentenceModeProperty)); 1001public ImeSentenceModeValues ImeSentenceMode 1016ImeSentenceModeValues ret = 0; 1020return ImeSentenceModeValues.None; 1023ret |= ImeSentenceModeValues.PluralClause; 1025ret |= ImeSentenceModeValues.SingleConversion; 1027ret |= ImeSentenceModeValues.Automatic; 1029ret |= ImeSentenceModeValues.PhrasePrediction; 1031ret |= ImeSentenceModeValues.Conversation; 1044ImeSentenceModeValues ret = 0; 1054return ImeSentenceModeValues.None; 1057ret |= ImeSentenceModeValues.PluralClause; 1059ret |= ImeSentenceModeValues.SingleConversion; 1061ret |= ImeSentenceModeValues.Automatic; 1063ret |= ImeSentenceModeValues.PhrasePrediction; 1065ret |= ImeSentenceModeValues.Conversation; 1070return ImeSentenceModeValues.None; 1080Debug.Assert((value & ImeSentenceModeValues.DoNotCare) == 0); 1092if ((value & ImeSentenceModeValues.PluralClause) != 0) 1094if ((value & ImeSentenceModeValues.SingleConversion) != 0) 1096if ((value & ImeSentenceModeValues.Automatic) != 0) 1098if ((value & ImeSentenceModeValues.PhrasePrediction) != 0) 1100if ((value & ImeSentenceModeValues.Conversation) != 0) 1124if ((value & ImeSentenceModeValues.PluralClause) != 0) 1126if ((value & ImeSentenceModeValues.SingleConversion) != 0) 1128if ((value & ImeSentenceModeValues.Automatic) != 0) 1130if ((value & ImeSentenceModeValues.PhrasePrediction) != 0) 1132if ((value & ImeSentenceModeValues.Conversation) != 0) 1252if ((value != null) && (((ImeSentenceModeValues)value & ImeSentenceModeValues.DoNotCare) == 0)) 1254ImeSentenceMode = (ImeSentenceModeValues)value; 1716private bool IsValidSentenceMode(ImeSentenceModeValues mode) 1718int mask = (int)(ImeSentenceModeValues.None | 1719ImeSentenceModeValues.PluralClause | 1720ImeSentenceModeValues.SingleConversion | 1721ImeSentenceModeValues.Automatic | 1722ImeSentenceModeValues.PhrasePrediction | 1723ImeSentenceModeValues.Conversation | 1724ImeSentenceModeValues.DoNotCare);