32 references to NumberContext
PresentationCore (32)
MS\Internal\TextFormatting\TextStore.cs (32)
56
private
NumberContext
_numberContext; // cached number context for contextual digit substitution
1162
private
NumberContext
GetNumberContext(TextModifierScope scope)
1166
NumberContext
cachedNumberContext = _numberContext;
1179
cachedNumberContext =
NumberContext
.Unknown;
1230
NumberContext
.Arabic |
NumberContext
.FromLetter :
1231
NumberContext
.European |
NumberContext
.FromLetter;
1238
NumberContext
.Arabic |
NumberContext
.FromFlowDirection :
1239
NumberContext
.European |
NumberContext
.FromFlowDirection;
1252
if (limitCp <= firstCp && (cachedNumberContext &
NumberContext
.FromLetter) != 0)
1260
NumberContext
.Arabic |
NumberContext
.FromFlowDirection :
1261
NumberContext
.European |
NumberContext
.FromFlowDirection;
1305
NumberContext
numberContext =
NumberContext
.Unknown;
1323
NumberContext
previousNumberContext =
NumberContext
.Unknown;
1359
if (numberContext ==
NumberContext
.Unknown)
1367
if ((previousNumberContext &
NumberContext
.Mask) != (numberContext &
NumberContext
.Mask))
1370
if (previousNumberContext !=
NumberContext
.Unknown)
1389
digitCulture = (numberContext &
NumberContext
.Mask) ==
NumberContext
.Arabic ?
1401
NumberContext
.Arabic |
NumberContext
.FromLetter :
1402
NumberContext
.European |
NumberContext
.FromLetter;
1429
if (numberContext !=
NumberContext
.Unknown)