38 references to TextDecorationLocation
PresentationCore (29)
MS\Internal\TextFormatting\LineServicesCallbacks.cs (12)
264case TextDecorationLocation.Underline: 268case TextDecorationLocation.OverLine: 269case TextDecorationLocation.Strikethrough: 270case TextDecorationLocation.Baseline: 949(1U << (int)TextDecorationLocation.OverLine) | 950(1U << (int)TextDecorationLocation.Strikethrough) | 951(1U << (int)TextDecorationLocation.Baseline); 1004const uint locationMask = (1U << (int)TextDecorationLocation.Underline); 1113case TextDecorationLocation.Underline: 1127case TextDecorationLocation.OverLine: 1141case TextDecorationLocation.Strikethrough: 1155case TextDecorationLocation.Baseline:
src\Microsoft.DotNet.Wpf\src\Shared\ms\internal\generated\TextDecorationLocationValidation.cs (6)
35TextDecorationLocation value = (TextDecorationLocation) valueObject; 37return (value == TextDecorationLocation.Underline) || 38(value == TextDecorationLocation.OverLine) || 39(value == TextDecorationLocation.Strikethrough) || 40(value == TextDecorationLocation.Baseline);
System\Windows\Generated\TextDecoration.cs (6)
130public TextDecorationLocation Location 134return (TextDecorationLocation) GetValue(LocationProperty); 243internal const TextDecorationLocation c_Location = TextDecorationLocation.Underline; 306typeof(TextDecorationLocation), 308TextDecorationLocation.Underline,
System\Windows\TextDecoration.cs (1)
39TextDecorationLocation 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)
370return GetTextDecorationColor(decors as TextDecorationCollection, TextDecorationLocation.OverLine); 381return GetTextDecorationLineStyle(decors as TextDecorationCollection, TextDecorationLocation.OverLine); 392return GetTextDecorationColor(decors as TextDecorationCollection, TextDecorationLocation.Strikethrough); 403return GetTextDecorationLineStyle(decors as TextDecorationCollection, TextDecorationLocation.Strikethrough); 436return GetTextDecorationColor(decors as TextDecorationCollection, TextDecorationLocation.Underline); 447return GetTextDecorationLineStyle(decors as TextDecorationCollection, TextDecorationLocation.Underline); 1300private static int GetTextDecorationColor(TextDecorationCollection decorations, TextDecorationLocation location) 1326private static TextDecorationLineStyle GetTextDecorationLineStyle(TextDecorationCollection decorations, TextDecorationLocation location)
System\Windows\Documents\SpellerHighlightLayer.cs (1)
169TextDecorationLocation.Underline,