32 references to NumberContext
PresentationCore (32)
MS\Internal\TextFormatting\TextStore.cs (32)
71
private
NumberContext
_numberContext; // cached number context for contextual digit substitution
1177
private
NumberContext
GetNumberContext(TextModifierScope scope)
1181
NumberContext
cachedNumberContext = _numberContext;
1194
cachedNumberContext =
NumberContext
.Unknown;
1245
NumberContext
.Arabic |
NumberContext
.FromLetter :
1246
NumberContext
.European |
NumberContext
.FromLetter;
1253
NumberContext
.Arabic |
NumberContext
.FromFlowDirection :
1254
NumberContext
.European |
NumberContext
.FromFlowDirection;
1267
if (limitCp <= firstCp && (cachedNumberContext &
NumberContext
.FromLetter) != 0)
1275
NumberContext
.Arabic |
NumberContext
.FromFlowDirection :
1276
NumberContext
.European |
NumberContext
.FromFlowDirection;
1320
NumberContext
numberContext =
NumberContext
.Unknown;
1338
NumberContext
previousNumberContext =
NumberContext
.Unknown;
1374
if (numberContext ==
NumberContext
.Unknown)
1382
if ((previousNumberContext &
NumberContext
.Mask) != (numberContext &
NumberContext
.Mask))
1385
if (previousNumberContext !=
NumberContext
.Unknown)
1404
digitCulture = (numberContext &
NumberContext
.Mask) ==
NumberContext
.Arabic ?
1416
NumberContext
.Arabic |
NumberContext
.FromLetter :
1417
NumberContext
.European |
NumberContext
.FromLetter;
1444
if (numberContext !=
NumberContext
.Unknown)