22 references to CharAttributeOf
PresentationCore (22)
MS\Internal\Classification.cs (1)
115
CharacterAttribute charAttribute = Classification.
CharAttributeOf
((int)Classification.GetUnicodeClass(unicodeScalar));
MS\Internal\TextFormatting\Bidi.cs (11)
503
currentClass = Classification.
CharAttributeOf
((int) Classification.GetUnicodeClass(intChar)).BiDi;
648
currentClass = Classification.
CharAttributeOf
((int) Classification.GetUnicodeClass(intChar)).BiDi;
1676
directionClass = Classification.
CharAttributeOf
((int) Classification.GetUnicodeClass(intChar)).BiDi;
1789
tempClass = Classification.
CharAttributeOf
((int) Classification.GetUnicodeClass(intChar)).BiDi;
1808
if (tempClass != Classification.
CharAttributeOf
((int) Classification.GetUnicodeClass(intChar)).BiDi)
1831
(int) Classification.
CharAttributeOf
((int) Classification.GetUnicodeClass(intChar)).BiDi] == 1)
1856
if (DirectionClass.ParagraphSeparator != Classification.
CharAttributeOf
((int) Classification.GetUnicodeClass(codePoint)).BiDi)
1871
tempClass = Classification.
CharAttributeOf
((int) Classification.GetUnicodeClass(codePoint)).BiDi;
2013
hiddenCharClass = Classification.
CharAttributeOf
((int)Classification.GetUnicodeClass(intChar)).BiDi;
2029
tempClass = Classification.
CharAttributeOf
((int) Classification.GetUnicodeClass(codePoint)).BiDi;
2156
currentClass = Classification.
CharAttributeOf
((int) Classification.GetUnicodeClass(intChar)).BiDi;
MS\Internal\TextFormatting\LineServicesCallbacks.cs (3)
1992
ushort flags = (ushort)(Classification.
CharAttributeOf
((int)Classification.GetUnicodeClassUTF16(pwch[i]))).Flags;
2104
ushort flags = (ushort)(Classification.
CharAttributeOf
((int)Classification.GetUnicodeClassUTF16(pwch[ich + j]))).Flags;
2238
ushort flags = (ushort)(Classification.
CharAttributeOf
((int)Classification.GetUnicodeClassUTF16(pwch[ich + j]))).Flags;
MS\Internal\TextFormatting\SimpleTextLine.cs (1)
1946
return Classification.
CharAttributeOf
(charClass).BiDi == DirectionClass.WhiteSpace;
MS\Internal\TextFormatting\TextStore.cs (4)
637
charFlags = (ushort)Classification.
CharAttributeOf
(
1221
CharacterAttribute charAttributes = Classification.
CharAttributeOf
(Classification.GetUnicodeClassUTF16(ch));
1353
CharacterAttribute charAttributes = Classification.
CharAttributeOf
(Classification.GetUnicodeClassUTF16(ch));
1894
ItemClass itemClass = (ItemClass)Classification.
CharAttributeOf
(unicodeClass).ItemClass;
System\Windows\Media\Typeface.cs (2)
437
charFlags = Classification.
CharAttributeOf
(charClass).Flags;
480
charFlags = Classification.
CharAttributeOf
(charClass).Flags;