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