5 references to Add
Microsoft.VisualStudio.LanguageServices.UnitTests (1)
Options\OptionPageSearchHandlerTests.vb (1)
195
run.TextDecorations.
Add
(TextDecorations.Underline)
PresentationCore (1)
System\Windows\TextDecorationCollectionConverter.cs (1)
136
textDecorations.
Add
(PredefinedTextDecorations[i]);
PresentationFramework (1)
System\windows\Documents\TextEditorCharacters.cs (1)
228
toggledTextDecorations.
Add
(TextDecorations.Underline);
WindowsFormsIntegration (2)
System\Windows\Integration\ElementHostPropertyMap.cs (2)
145
if (wfFont.Underline) { decorations.
Add
(TextDecorations.Underline); };
146
if (wfFont.Strikeout) { decorations.
Add
(TextDecorations.Strikethrough); }