Implemented interface members:
34 references to Count
PresentationCore (11)
MS\Internal\TextFormatting\FullTextLine.cs (1)
204if (_paragraphTextDecorations.Count != 0)
MS\Internal\TextFormatting\LineServicesCallbacks.cs (1)
248for (int i = 0; i < textDecorations.Count; i++)
MS\Internal\TextFormatting\SimpleTextLine.cs (3)
95|| (pap.TextDecorations != null && pap.TextDecorations.Count != 0) 1461&& textDecorations.Count != 0 1550if (textDecorations != null && textDecorations.Count == 1 )
System\Windows\Generated\TextDecorationCollection.cs (1)
477for (int i=0; i<this.Count; i++)
System\Windows\TextDecorationCollection.cs (4)
46if ( this.Count != textDecorations.Count) 52for (int i = 0; i < this.Count; i++) 98for (int i = result.Count -1; i >= 0; --i)
System\Windows\TextDecorationCollectionConverter.cs (1)
107if (textDecorations.Count > 0 || index < text.Length)
PresentationCore.Tests (9)
System\Windows\TextDecorationCollectionConverter.Tests.cs (9)
49Assert.Equal(expected.Count, converted.Count); 52for (int i = 0; i < expected.Count; i++) 124Assert.Equal(expected.Count, converted.Count); 127for (int i = 0; i < expected.Count; i++) 202Assert.Equal(expected.Count, actual.Count); 205for (int i = 0; i < expected.Count; i++)
PresentationFramework (14)
MS\Internal\PtsHost\LineBase.cs (3)
196if (inlineTextDecorations == null || inlineTextDecorations.Count == 0) 217if (inlineTextDecorations == null || inlineTextDecorations.Count == 0) 274if (textDecorations == null || textDecorations.Count == 0)
MS\Internal\Text\ComplexLine.cs (3)
425if (inlineTextDecorations == null || inlineTextDecorations.Count == 0) 446if (inlineTextDecorations == null || inlineTextDecorations.Count == 0) 499if (textDecorations == null || textDecorations.Count == 0)
MS\Internal\Text\DynamicPropertyReader.cs (1)
92int count = parentTextDecorations.Count;
MS\Internal\Text\TextSpanModifier.cs (2)
78if (properties == null || _modifierDecorations == null || _modifierDecorations.Count == 0) 101if (runDecorations == null || runDecorations.Count == 0)
System\Windows\Documents\DPTypeDescriptorContext.cs (1)
108else if (textDecorations.Count == 0)
System\Windows\Documents\TextSchema.cs (3)
351return (value is TextDecorationCollection) && ((TextDecorationCollection)value).Count > 0; 595return decorations2.Count == 0; 607return decorations1.Count == 0;
System\Windows\SystemFonts.cs (1)
507int count = from.Count;