8 instantiations of TextDecoration
PresentationCore (5)
Core\CSharp\system\windows\generated\TextDecoration.cs (1)
182return new TextDecoration();
Core\CSharp\System\Windows\TextDecorations.cs (4)
30TextDecoration td = new TextDecoration(); 37td = new TextDecoration(); 44td = new TextDecoration(); 51td = new TextDecoration();
PresentationFramework (3)
src\Framework\System\Windows\Documents\SpellerHighlightLayer.cs (1)
171TextDecoration textDecoration = new TextDecoration(
src\Framework\System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
9999bamlType.DefaultConstructor = delegate() { return new System.Windows.TextDecoration(); };
src\Framework\System\Windows\Markup\KnownTypes.cs (1)
1594case KnownElements.TextDecoration: o = new System.Windows.TextDecoration(); break;
78 references to TextDecoration
PresentationCore (69)
Core\CSharp\MS\Internal\TextFormatting\LineServicesCallbacks.cs (2)
1213foreach (TextDecoration td in textDecorations) 1294TextDecoration textDecoration //TextDecoration to be draw (add to sublinecollection
Core\CSharp\MS\Internal\TextFormatting\SimpleTextLine.cs (1)
1314public TextDecoration Underline; // only support single underline
Core\CSharp\system\windows\generated\TextDecoration.cs (5)
56public new TextDecoration Clone() 58return (TextDecoration)base.Clone(); 65public new TextDecoration CloneCurrentValue() 67return (TextDecoration)base.CloneCurrentValue(); 291Type typeofThis = typeof(TextDecoration);
Core\CSharp\system\windows\generated\TextDecorationCollection.cs (53)
44public sealed partial class TextDecorationCollection : Animatable, IList, IList<TextDecoration> 89public void Add(TextDecoration value) 117public bool Contains(TextDecoration value) 127public int IndexOf(TextDecoration value) 137public void Insert(int index, TextDecoration value) 159public bool Remove(TextDecoration value) 175TextDecoration oldValue = _collection[index]; 219TextDecoration oldValue = _collection[ index ]; 237public TextDecoration this[int index] 257TextDecoration oldValue = _collection[ index ]; 291public void CopyTo(TextDecoration[] array, int index) 311bool ICollection<TextDecoration>.IsReadOnly 335IEnumerator<TextDecoration> IEnumerable<TextDecoration>.GetEnumerator() 348return ((ICollection<TextDecoration>)this).IsReadOnly; 383return Contains(value as TextDecoration); 388return IndexOf(value as TextDecoration); 399Remove(value as TextDecoration); 496internal TextDecoration Internal_GetItem(int i) 523private TextDecoration Cast(object value) 530if (!(value is TextDecoration)) 535return (TextDecoration) value; 541private int AddHelper(TextDecoration value) 552internal int AddWithoutFiringPublicEvents(TextDecoration value) 561TextDecoration newValue = value; 614_collection = new FrugalStructList<TextDecoration>(count); 618TextDecoration newValue = (TextDecoration) sourceTextDecorationCollection._collection[i].Clone(); 636_collection = new FrugalStructList<TextDecoration>(count); 640TextDecoration newValue = (TextDecoration) sourceTextDecorationCollection._collection[i].CloneCurrentValue(); 658_collection = new FrugalStructList<TextDecoration>(count); 662TextDecoration newValue = (TextDecoration) sourceTextDecorationCollection._collection[i].GetAsFrozen(); 680_collection = new FrugalStructList<TextDecoration>(count); 684TextDecoration newValue = (TextDecoration) sourceTextDecorationCollection._collection[i].GetCurrentValueAsFrozen(); 764internal FrugalStructList<TextDecoration> _collection; 774public struct Enumerator : IEnumerator, IEnumerator<TextDecoration> 785_current = default(TextDecoration); 865public TextDecoration Current 888private TextDecoration _current; 910_collection = new FrugalStructList<TextDecoration>(); 919_collection = new FrugalStructList<TextDecoration>(capacity); 925public TextDecorationCollection(IEnumerable<TextDecoration> collection) 936ICollection<TextDecoration> icollectionOfT = collection as ICollection<TextDecoration>; 940_collection = new FrugalStructList<TextDecoration>(icollectionOfT); 948_collection = new FrugalStructList<TextDecoration>(icollection); 952_collection = new FrugalStructList<TextDecoration>(); 954foreach (TextDecoration item in collection) 960TextDecoration newValue = item; 972foreach (TextDecoration item in collection)
Core\CSharp\system\windows\TextDecoration.cs (1)
69internal bool ValueEquals(TextDecoration textDecoration)
Core\CSharp\system\windows\TextDecorationCollection.cs (4)
76public void Add(IEnumerable<TextDecoration> textDecorations) 83foreach(TextDecoration textDecoration in textDecorations) 103public bool TryRemove(IEnumerable<TextDecoration> textDecorations, out TextDecorationCollection result) 113foreach (TextDecoration textDecoration in textDecorations)
Core\CSharp\system\windows\TextDecorationCollectionConverter.cs (2)
190if (destinationType == typeof(InstanceDescriptor) && value is IEnumerable<TextDecoration>) 193new Type[]{typeof(IEnumerable<TextDecoration>)}
Core\CSharp\System\Windows\TextDecorations.cs (1)
30TextDecoration td = new TextDecoration();
PresentationFramework (9)
src\Framework\MS\Internal\Text\TextSpanModifier.cs (3)
137foreach (TextDecoration td in runDecorations) 161foreach (TextDecoration td in textDecorations) 168TextDecoration copy = td.Clone();
src\Framework\System\Windows\Controls\TextRangeAdaptor.cs (2)
1319foreach (TextDecoration decor in decorations) 1345foreach (TextDecoration decor in decorations)
src\Framework\System\Windows\Documents\SpellerHighlightLayer.cs (1)
171TextDecoration textDecoration = new TextDecoration(
src\Framework\System\Windows\Markup\Baml2006\Baml2006KnownTypes.cs (1)
735case 643: t = () => typeof(TextDecoration); break;
src\Framework\System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
9997typeof(System.Windows.TextDecoration),
src\Framework\System\Windows\Markup\KnownTypes.cs (1)
6187case KnownElements.TextDecoration: t = typeof(System.Windows.TextDecoration); break;