32 references to NumberContext
PresentationCore (32)
Core\CSharp\MS\Internal\TextFormatting\TextStore.cs (32)
75
private
NumberContext
_numberContext; // cached number context for contextual digit substitution
1188
private
NumberContext
GetNumberContext(TextModifierScope scope)
1192
NumberContext
cachedNumberContext = _numberContext;
1205
cachedNumberContext =
NumberContext
.Unknown;
1256
NumberContext
.Arabic |
NumberContext
.FromLetter :
1257
NumberContext
.European |
NumberContext
.FromLetter;
1264
NumberContext
.Arabic |
NumberContext
.FromFlowDirection :
1265
NumberContext
.European |
NumberContext
.FromFlowDirection;
1278
if (limitCp <= firstCp && (cachedNumberContext &
NumberContext
.FromLetter) != 0)
1286
NumberContext
.Arabic |
NumberContext
.FromFlowDirection :
1287
NumberContext
.European |
NumberContext
.FromFlowDirection;
1331
NumberContext
numberContext =
NumberContext
.Unknown;
1349
NumberContext
previousNumberContext =
NumberContext
.Unknown;
1385
if (numberContext ==
NumberContext
.Unknown)
1393
if ((previousNumberContext &
NumberContext
.Mask) != (numberContext &
NumberContext
.Mask))
1396
if (previousNumberContext !=
NumberContext
.Unknown)
1415
digitCulture = (numberContext &
NumberContext
.Mask) ==
NumberContext
.Arabic ?
1427
NumberContext
.Arabic |
NumberContext
.FromLetter :
1428
NumberContext
.European |
NumberContext
.FromLetter;
1455
if (numberContext !=
NumberContext
.Unknown)