38 references to TextDecorationLocation
PresentationCore (29)
MS\Internal\TextFormatting\LineServicesCallbacks.cs (12)
283case TextDecorationLocation.Underline: 287case TextDecorationLocation.OverLine: 288case TextDecorationLocation.Strikethrough: 289case TextDecorationLocation.Baseline: 968(1U << (int)TextDecorationLocation.OverLine) | 969(1U << (int)TextDecorationLocation.Strikethrough) | 970(1U << (int)TextDecorationLocation.Baseline); 1023const uint locationMask = (1U << (int)TextDecorationLocation.Underline); 1132case TextDecorationLocation.Underline: 1146case TextDecorationLocation.OverLine: 1160case TextDecorationLocation.Strikethrough: 1174case TextDecorationLocation.Baseline:
src\Microsoft.DotNet.Wpf\src\Shared\ms\internal\generated\TextDecorationLocationValidation.cs (6)
40TextDecorationLocation value = (TextDecorationLocation) valueObject; 42return (value == TextDecorationLocation.Underline) || 43(value == TextDecorationLocation.OverLine) || 44(value == TextDecorationLocation.Strikethrough) || 45(value == TextDecorationLocation.Baseline);
System\Windows\Generated\TextDecoration.cs (6)
149public TextDecorationLocation Location 153return (TextDecorationLocation) GetValue(LocationProperty); 262internal const TextDecorationLocation c_Location = TextDecorationLocation.Underline; 325typeof(TextDecorationLocation), 327TextDecorationLocation.Underline,
System\Windows\TextDecoration.cs (1)
41TextDecorationLocation location,
System\Windows\TextDecorations.cs (4)
24td.Location = TextDecorationLocation.Underline; 31td.Location = TextDecorationLocation.Strikethrough; 38td.Location = TextDecorationLocation.OverLine; 45td.Location = TextDecorationLocation.Baseline;
PresentationFramework (9)
System\Windows\Controls\TextRangeAdaptor.cs (8)
372return GetTextDecorationColor(decors as TextDecorationCollection, TextDecorationLocation.OverLine); 383return GetTextDecorationLineStyle(decors as TextDecorationCollection, TextDecorationLocation.OverLine); 394return GetTextDecorationColor(decors as TextDecorationCollection, TextDecorationLocation.Strikethrough); 405return GetTextDecorationLineStyle(decors as TextDecorationCollection, TextDecorationLocation.Strikethrough); 438return GetTextDecorationColor(decors as TextDecorationCollection, TextDecorationLocation.Underline); 449return GetTextDecorationLineStyle(decors as TextDecorationCollection, TextDecorationLocation.Underline); 1302private static int GetTextDecorationColor(TextDecorationCollection decorations, TextDecorationLocation location) 1328private static TextDecorationLineStyle GetTextDecorationLineStyle(TextDecorationCollection decorations, TextDecorationLocation location)
System\Windows\Documents\SpellerHighlightLayer.cs (1)
172TextDecorationLocation.Underline,