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