8 instantiations of TextDecoration
PresentationCore (5)
System\Windows\Generated\TextDecoration.cs (1)
177return 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)
171TextDecoration textDecoration = new TextDecoration(
System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
10003bamlType.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)
1126foreach (TextDecoration td in textDecorations) 1203TextDecoration textDecoration //TextDecoration to be draw (add to sublinecollection
MS\Internal\TextFormatting\SimpleTextLine.cs (1)
1300public TextDecoration Underline; // only support single underline
System\Windows\Generated\TextDecoration.cs (5)
51public new TextDecoration Clone() 53return (TextDecoration)base.Clone(); 60public new TextDecoration CloneCurrentValue() 62return (TextDecoration)base.CloneCurrentValue(); 286Type typeofThis = typeof(TextDecoration);
System\Windows\Generated\TextDecorationCollection.cs (53)
42public sealed partial class TextDecorationCollection : Animatable, IList, IList<TextDecoration> 87public void Add(TextDecoration value) 115public bool Contains(TextDecoration value) 125public int IndexOf(TextDecoration value) 135public void Insert(int index, TextDecoration value) 157public bool Remove(TextDecoration value) 173TextDecoration oldValue = _collection[index]; 217TextDecoration oldValue = _collection[index]; 235public TextDecoration this[int index] 254TextDecoration oldValue = _collection[index]; 286public void CopyTo(TextDecoration[] array, int index) 301bool ICollection<TextDecoration>.IsReadOnly 325IEnumerator<TextDecoration> IEnumerable<TextDecoration>.GetEnumerator() 338return ((ICollection<TextDecoration>)this).IsReadOnly; 373return Contains(value as TextDecoration); 378return IndexOf(value as TextDecoration); 389Remove(value as TextDecoration); 481internal TextDecoration Internal_GetItem(int i) 508private TextDecoration Cast(object value) 512if (!(value is TextDecoration)) 517return (TextDecoration)value; 523private int AddHelper(TextDecoration value) 534internal int AddWithoutFiringPublicEvents(TextDecoration value) 543TextDecoration newValue = value; 596_collection = new FrugalStructList<TextDecoration>(count); 600TextDecoration newValue = (TextDecoration)sourceTextDecorationCollection._collection[i].Clone(); 616_collection = new FrugalStructList<TextDecoration>(count); 620TextDecoration newValue = (TextDecoration)sourceTextDecorationCollection._collection[i].CloneCurrentValue(); 636_collection = new FrugalStructList<TextDecoration>(count); 640TextDecoration newValue = (TextDecoration)sourceTextDecorationCollection._collection[i].GetAsFrozen(); 656_collection = new FrugalStructList<TextDecoration>(count); 660TextDecoration newValue = (TextDecoration)sourceTextDecorationCollection._collection[i].GetCurrentValueAsFrozen(); 738internal FrugalStructList<TextDecoration> _collection; 748public struct Enumerator : IEnumerator, IEnumerator<TextDecoration> 759_current = default(TextDecoration); 838public TextDecoration Current 861private TextDecoration _current; 883_collection = new FrugalStructList<TextDecoration>(); 892_collection = new FrugalStructList<TextDecoration>(capacity); 898public TextDecorationCollection(IEnumerable<TextDecoration> collection) 909ICollection<TextDecoration> icollectionOfT = collection as ICollection<TextDecoration>; 913_collection = new FrugalStructList<TextDecoration>(icollectionOfT); 921_collection = new FrugalStructList<TextDecoration>(icollection); 925_collection = new FrugalStructList<TextDecoration>(); 927foreach (TextDecoration item in collection) 933TextDecoration newValue = item; 944foreach (TextDecoration item in collection)
System\Windows\TextDecoration.cs (1)
67internal bool ValueEquals(TextDecoration textDecoration)
System\Windows\TextDecorationCollection.cs (4)
70public void Add(IEnumerable<TextDecoration> textDecorations) 74foreach (TextDecoration textDecoration in textDecorations) 94public bool TryRemove(IEnumerable<TextDecoration> textDecorations, out TextDecorationCollection result) 101foreach (TextDecoration textDecoration in textDecorations)
System\Windows\TextDecorationCollectionConverter.cs (2)
182if (destinationType == typeof(InstanceDescriptor) && value is IEnumerable<TextDecoration>) 185new Type[]{typeof(IEnumerable<TextDecoration>)}
System\Windows\TextDecorations.cs (1)
23TextDecoration td = new TextDecoration();
PresentationFramework (9)
MS\Internal\Text\TextSpanModifier.cs (3)
129foreach (TextDecoration td in runDecorations) 153foreach (TextDecoration td in textDecorations) 160TextDecoration copy = td.Clone();
System\Windows\Controls\TextRangeAdaptor.cs (2)
1310foreach (TextDecoration decor in decorations) 1336foreach (TextDecoration decor in decorations)
System\Windows\Documents\SpellerHighlightLayer.cs (1)
171TextDecoration textDecoration = new TextDecoration(
System\Windows\Markup\Baml2006\Baml2006KnownTypes.cs (1)
739case 643: t = () => typeof(TextDecoration); break;
System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
10001typeof(System.Windows.TextDecoration),
System\Windows\Markup\KnownTypes.cs (1)
6197case KnownElements.TextDecoration: t = typeof(System.Windows.TextDecoration); break;