38 references to TextDecorationLocation
PresentationCore (29)
Core\CSharp\MS\Internal\TextFormatting\LineServicesCallbacks.cs (12)
307case TextDecorationLocation.Underline: 311case TextDecorationLocation.OverLine: 312case TextDecorationLocation.Strikethrough: 313case TextDecorationLocation.Baseline: 1042(1U << (int)TextDecorationLocation.OverLine) | 1043(1U << (int)TextDecorationLocation.Strikethrough) | 1044(1U << (int)TextDecorationLocation.Baseline); 1102const uint locationMask = (1U << (int)TextDecorationLocation.Underline); 1219case TextDecorationLocation.Underline: 1233case TextDecorationLocation.OverLine: 1247case TextDecorationLocation.Strikethrough: 1261case TextDecorationLocation.Baseline:
Core\CSharp\system\windows\generated\TextDecoration.cs (6)
154public TextDecorationLocation Location 158return (TextDecorationLocation) GetValue(LocationProperty); 267internal const TextDecorationLocation c_Location = TextDecorationLocation.Underline; 330typeof(TextDecorationLocation), 332TextDecorationLocation.Underline,
Core\CSharp\system\windows\TextDecoration.cs (1)
43TextDecorationLocation location,
Core\CSharp\System\Windows\TextDecorations.cs (4)
31td.Location = TextDecorationLocation.Underline; 38td.Location = TextDecorationLocation.Strikethrough; 45td.Location = TextDecorationLocation.OverLine; 52td.Location = TextDecorationLocation.Baseline;
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);
PresentationFramework (9)
src\Framework\System\Windows\Controls\TextRangeAdaptor.cs (8)
380return GetTextDecorationColor(decors as TextDecorationCollection, TextDecorationLocation.OverLine); 391return GetTextDecorationLineStyle(decors as TextDecorationCollection, TextDecorationLocation.OverLine); 402return GetTextDecorationColor(decors as TextDecorationCollection, TextDecorationLocation.Strikethrough); 413return GetTextDecorationLineStyle(decors as TextDecorationCollection, TextDecorationLocation.Strikethrough); 446return GetTextDecorationColor(decors as TextDecorationCollection, TextDecorationLocation.Underline); 457return GetTextDecorationLineStyle(decors as TextDecorationCollection, TextDecorationLocation.Underline); 1311private static int GetTextDecorationColor(TextDecorationCollection decorations, TextDecorationLocation location) 1337private static TextDecorationLineStyle GetTextDecorationLineStyle(TextDecorationCollection decorations, TextDecorationLocation location)
src\Framework\System\Windows\Documents\SpellerHighlightLayer.cs (1)
172TextDecorationLocation.Underline,