8 instantiations of TextDecoration
PresentationCore (5)
System\Windows\Generated\TextDecoration.cs (1)
158return new TextDecoration();
System\Windows\TextDecorations.cs (4)
23TextDecoration td = new TextDecoration(); 30td = new TextDecoration(); 37td = new TextDecoration(); 44td = new TextDecoration();
PresentationFramework (3)
System\Windows\Documents\SpellerHighlightLayer.cs (1)
168TextDecoration textDecoration = new TextDecoration(
System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
10001bamlType.DefaultConstructor = delegate() { return new System.Windows.TextDecoration(); };
System\Windows\Markup\KnownTypes.cs (1)
1593case KnownElements.TextDecoration: o = new System.Windows.TextDecoration(); break;
78 references to TextDecoration
PresentationCore (69)
MS\Internal\TextFormatting\LineServicesCallbacks.cs (2)
1107foreach (TextDecoration td in textDecorations) 1184TextDecoration textDecoration //TextDecoration to be draw (add to sublinecollection
MS\Internal\TextFormatting\SimpleTextLine.cs (1)
1291public TextDecoration Underline; // only support single underline
System\Windows\Generated\TextDecoration.cs (5)
32public new TextDecoration Clone() 34return (TextDecoration)base.Clone(); 41public new TextDecoration CloneCurrentValue() 43return (TextDecoration)base.CloneCurrentValue(); 267Type typeofThis = typeof(TextDecoration);
System\Windows\Generated\TextDecorationCollection.cs (53)
22public sealed partial class TextDecorationCollection : Animatable, IList, IList<TextDecoration> 67public void Add(TextDecoration value) 95public bool Contains(TextDecoration value) 105public int IndexOf(TextDecoration value) 115public void Insert(int index, TextDecoration value) 137public bool Remove(TextDecoration value) 153TextDecoration oldValue = _collection[index]; 197TextDecoration oldValue = _collection[index]; 215public TextDecoration this[int index] 234TextDecoration oldValue = _collection[index]; 266public void CopyTo(TextDecoration[] array, int index) 281bool ICollection<TextDecoration>.IsReadOnly 305IEnumerator<TextDecoration> IEnumerable<TextDecoration>.GetEnumerator() 318return ((ICollection<TextDecoration>)this).IsReadOnly; 353return Contains(value as TextDecoration); 358return IndexOf(value as TextDecoration); 369Remove(value as TextDecoration); 461internal TextDecoration Internal_GetItem(int i) 488private TextDecoration Cast(object value) 492if (!(value is TextDecoration)) 497return (TextDecoration)value; 503private int AddHelper(TextDecoration value) 514internal int AddWithoutFiringPublicEvents(TextDecoration value) 523TextDecoration newValue = value; 576_collection = new FrugalStructList<TextDecoration>(count); 580TextDecoration newValue = (TextDecoration)sourceTextDecorationCollection._collection[i].Clone(); 596_collection = new FrugalStructList<TextDecoration>(count); 600TextDecoration newValue = (TextDecoration)sourceTextDecorationCollection._collection[i].CloneCurrentValue(); 616_collection = new FrugalStructList<TextDecoration>(count); 620TextDecoration newValue = (TextDecoration)sourceTextDecorationCollection._collection[i].GetAsFrozen(); 636_collection = new FrugalStructList<TextDecoration>(count); 640TextDecoration newValue = (TextDecoration)sourceTextDecorationCollection._collection[i].GetCurrentValueAsFrozen(); 718internal FrugalStructList<TextDecoration> _collection; 728public struct Enumerator : IEnumerator, IEnumerator<TextDecoration> 739_current = default(TextDecoration); 818public TextDecoration Current 841private TextDecoration _current; 863_collection = new FrugalStructList<TextDecoration>(); 872_collection = new FrugalStructList<TextDecoration>(capacity); 878public TextDecorationCollection(IEnumerable<TextDecoration> collection) 889ICollection<TextDecoration> icollectionOfT = collection as ICollection<TextDecoration>; 893_collection = new FrugalStructList<TextDecoration>(icollectionOfT); 901_collection = new FrugalStructList<TextDecoration>(icollection); 905_collection = new FrugalStructList<TextDecoration>(); 907foreach (TextDecoration item in collection) 913TextDecoration newValue = item; 924foreach (TextDecoration item in collection)
System\Windows\TextDecoration.cs (1)
65internal bool ValueEquals(TextDecoration textDecoration)
System\Windows\TextDecorationCollection.cs (4)
66public void Add(IEnumerable<TextDecoration> textDecorations) 70foreach (TextDecoration textDecoration in textDecorations) 90public bool TryRemove(IEnumerable<TextDecoration> textDecorations, out TextDecorationCollection result) 97foreach (TextDecoration textDecoration in textDecorations)
System\Windows\TextDecorationCollectionConverter.cs (2)
169if (destinationType == typeof(InstanceDescriptor) && value is IEnumerable<TextDecoration>) 172new Type[]{typeof(IEnumerable<TextDecoration>)}
System\Windows\TextDecorations.cs (1)
23TextDecoration td = new TextDecoration();
PresentationFramework (9)
MS\Internal\Text\TextSpanModifier.cs (3)
127foreach (TextDecoration td in runDecorations) 151foreach (TextDecoration td in textDecorations) 158TextDecoration copy = td.Clone();
System\Windows\Controls\TextRangeAdaptor.cs (2)
1308foreach (TextDecoration decor in decorations) 1334foreach (TextDecoration decor in decorations)
System\Windows\Documents\SpellerHighlightLayer.cs (1)
168TextDecoration textDecoration = new TextDecoration(
System\Windows\Markup\Baml2006\Baml2006KnownTypes.cs (1)
737case 643: t = () => typeof(TextDecoration); break;
System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
9999typeof(System.Windows.TextDecoration),
System\Windows\Markup\KnownTypes.cs (1)
6197case KnownElements.TextDecoration: t = typeof(System.Windows.TextDecoration); break;